Aladdin

Margin Calculator

Cost, margin %, revenue, and profit — solve any two in your browser.

In-browserOn your device

Runs in your browser — files stay on your device.

Profit$20.00
Margin (%)40.0%

Margin on revenue

Profit = revenue − cost. Margin % = 100 × profit ÷ revenue. Edit any two fields (last two edited) to solve the rest.

Model: reference implementation.