Price, cost and margin
Fill in any two and the third is worked out, with margin and markup side by side.
How this works
Margin and markup are the same profit measured against two different numbers. Margin is profit over the sale price; markup is profit over what you paid. Both are shown whichever one you asked for.
On something bought at 10,000, a 30% markup is 13,000 and a 30% margin is 14,285.71. A shop told to put thirty on it that charges the first while believing it makes the second is short 1,285.71 on every unit.