# Markup \&\#038; Margin Calculator

Find a selling price from materials, labor, overhead and a target markup or gross margin\. Use the same currency throughout\.

## Formula

Cost = materials \+ labor \+ overhead\. With percentage overhead, multiply materials plus labor by the overhead rate\. Price = cost × \(1 \+ markup rate\)\. Gross margin = \(price − cost\) ÷ price\. Markup rate = gross margin ÷ \(1 − gross margin\)\. If price is zero, the gross margin is undefined\.

Example: 20% markup gives a 16\.7% gross margin\.

## Number sources

Amounts come from your inputs\. The percentages in the example follow from the formulas above\.

Educational estimate only — not a quote, legal, tax or insurance advice\.

[Bidding electrical work? Use the Small Commercial Electrical Bid Kit](https://www.tsaielectro.com/store/small-commercial-electrical-bid-kit/)

Construction step CN\-TX\-05 · Construction step CN\-P4 · [More calculators](https://www.tsaielectro.com/calculators/) · [Membership](https://www.tsaielectro.com/membership/)
