Tel: 01299 660 237

Accountants. Advisors. Partners.
Call us now on: 01299 660 237

Gross Profit & Profit Margin Calculator

In accounting, gross profit is the difference between revenue and the cost of making a product or providing a service, before deducting overhead, payroll, taxation, and interest payments.

What is Gross Profit Margin?

Gross margin is the difference between revenue and cost before accounting for certain other costs. Generally, it is calculated as the selling price of an item, less the cost of goods sold (production or acquisition costs, essentially).

How is Gross Profit Calculated?

To calculate gross profit the total cost price is deducted from total sales turnover. The remainder is called gross profit.

if ((empty($_POST[‘saleprice’])) && (empty ($_POST[‘costprice’]))) {
echo “Please fill in fields Sales Total and Cost of Sale to work out your Gross Profit and Gross Margin.”;
if ((!empty($_POST[‘saleprice’])) && (!empty ($_POST[‘costprice’]))) {
$saleprice = htmlentities($_POST[‘saleprice’]);
$costprice = htmlentities($_POST[‘costprice’]);
$profitmade = $saleprice – $costprice;
$grossprofitmargin = $profitmade/$saleprice * 100;


Sales Total:

Cost Of Sales:

Gross Profit Made on Sales:

Gross Profit Margin (%):

Back to Top
Cookie Control

Cookie control

We have placed cookies on your device to help make this website better.

I'm fine with this

We have placed cookies on your device to help make this website better.

You can use this tool to change your cookie settings. Otherwise, we’ll assume you’re OK to continue.

Some of the cookies we use are essential for the site to work.

We also use some non-essential cookies to collect information for making reports and to help us improve the site. The cookies collect information in an anonymous form.

To control third party cookies, you can also adjust your browser settings.

I'm fine with this
(One cookie will be set to store your preference)
(Ticking this sets a cookie to hide this popup if you then hit close. This will not store any personal information)
Information and Settings Cookie policy