Margin divides by selling price
If an order costs $60 and sells for $80, profit before processing fees is $20. The margin is $20 ÷ $80, or 25%. Markup is $20 ÷ $60, or about 33.33%.
Build margin into a price
For a $60 order cost and a 25% margin, the price before fees is $60 ÷ 0.75 = $80. If the payment fee is 3% plus $0.30, use ($60 + $0.30) ÷ (1 − 0.03 − 0.25). Round up to at least $83.75.
Check what a discount gives away
At a $90 regular price, the same $60 order and processing fees leave $27.00. A 10% discount makes the sale price $81 and leaves $18.27. The price fell $9, and the profit fell $8.73.
Keep your pay and margin visible
Include labor as an order cost even when you do the work yourself. The profit margin then shows what the business keeps after paying for that time.
Try it with your own numbers. Margin and markup calculator