If you don't need the DCs above 20 (and, considering they are just level * 2, you probably don't), you can just use [[ 14 + floor( (4/3) * ?{What level are you looking for?|0} ) ]] for the base DC. Horvald said: Pathfinder 2E specific macro, used for calling Level Based DC, including modification for Difficulty/Rarity. Uses Query and inline rolls to output a single line to chat. Holding mouse over the result shows the inputs (level and rarity) used. This Macro can also be called within the sheet in conjunction with skills, abilities, etc. DC = [[?{level|0,14 [0th]|1,15 [1st]|2,16 [2nd]|3,18 [3rd]|4,19 [4th] |5,20 [5th]|6,22 [6th]|7,23 [7th]|8,24 [8th]|9,26 [9th]|10,27 [10th]|11,28 [11th]|12,30 [12th]|13,31 [13th]|14,32 [14th]|15,34 [15th]|16,35 [16th]|17,36 [17th]|18,38 [18th]|19,39 [19th]|20,40 [20th]|21,42 [21st]|22,44 [22nd]|23,46 [23rd]|24,48 [24th]|25,50 [25th]} +?{Rarity|Easy, -2 [Easy]|Common, 0 [Common]|Uncommon_Hard, 2 [Uncommon_Hard]|Rare_ V Hard, 5 [Rare_Very Hard]|Unique_Incr Hard, 10 [Unique_Incredibly Hard]}]]