Profit Margin Calculator
Calculate profit margin vs markup — understand the difference and optimise your pricing.
Calculate percentages instantly. Fill any two fields — the third is computed automatically.
is X% of
of
is
→ result
This calculator has two independent panels, each using a fill-any-two model: enter any two values and the third is computed instantly. The automatically calculated field is highlighted with an amber dashed border and an auto label. Edit that field at any time — it becomes a normal input and the oldest entry becomes the new computed field.
Panel 1 (A is X% of B) answers questions such as: 25 is what percent of 200? or What is 15% of 80? The math is X = (A ÷ B) × 100, A = B × X ÷ 100, or B = A × 100 ÷ X depending on which field is empty.
Panel 2 (Percentage change) computes the relative difference between two numbers. The larger / smaller toggle sets the direction when X% is entered manually. When A and B are both provided, the toggle is set automatically based on whether B exceeds A or not, and X% is shown as a positive value.