Profit margin calculator

Calculate gross profit, operating profit and both margins from monthly revenue, direct costs and overhead.

Gross profit
$12,000.00
Gross margin
60%
Operating profit
$3,000.00
Operating margin
15%

Get a free AI profit preview

The calculator and AI preview are free. The optional Full Profit Report adds a 30-day action plan and Profit Simulator for a one-time $19 USD payment where checkout is available.

Use these monthly figures in the free AI preview

Your figures stay in this tab during transfer. Review them before requesting analysis.

Formula and worked example

Gross profit = revenue − direct costs. Operating profit = gross profit − operating expenses. Each margin equals its profit figure divided by revenue, multiplied by 100.

On $20,000 of revenue with $8,000 in direct costs and $9,000 in overhead, gross profit is $12,000 (60%) and operating profit is $3,000 (15%) before interest and tax.

Frequently asked questions

Where do merchant fees go?

Include fees tied to sales in direct costs or record them in operating expenses if that is how your books classify them. Never count them twice.

Why is the margin unavailable at zero revenue?

A percentage of revenue cannot be calculated when revenue is zero. Your dollar loss still shows what the period cost.