Profit Margin Calculator

Enter cost and revenue to see gross profit, gross margin %, and markup %. Or flip to selling-price mode and enter a cost plus target margin to get the recommended selling price.

Profit Margin Settings

Calculation Mode

Enter cost and revenue to calculate gross margin and markup.

$
$

Results

Enter your cost and revenue (or target margin) on the left to see results.

Copied!

Summary

Enter cost and revenue to see gross profit, gross margin %, and markup %. Or flip to selling-price mode and enter a cost plus target margin to get the recommended selling price.

How it works

  1. Choose a mode: "Find Margin" to calculate margin from cost and revenue, or "Find Selling Price" to calculate the price needed to hit a target margin.
  2. In Find Margin mode, enter your cost and your revenue (selling price) in the input fields.
  3. In Find Selling Price mode, enter your cost and your desired gross margin percentage.
  4. Select the currency that matches your figures.
  5. Click Calculate to see gross profit, gross margin %, markup %, and — in selling-price mode — the recommended selling price.
  6. Click any copy button to copy a result to the clipboard.
  7. Click Reset to clear all fields and start over.

Use cases

  • A retailer checking whether a product priced at $49.99 with a $28 cost delivers the target 40% margin.
  • A freelancer calculating the hourly rate needed to achieve a 60% profit margin on a project.
  • A small business comparing markup and margin on different product lines to optimize pricing strategy.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu