ShelfCalc

Case cost to unit price calculator

Break a case down to cost per unit, freight and discounts included, then get a shelf price that hits your target margin.

$
%
Freight, fees and discounts
$
Freight, fuel surcharge or delivery fees billed per case.
$
Off-invoice discounts or rebates you're sure to get.

How it works

Most of what a store buys comes by the case, but it sells by the unit. To price a unit, you first need to know what one unit actually cost you, including anything else on the invoice that came with the case.

Units per case = Packs per case × Units per pack
Cost per unit = (Case cost + Extra costs − Discounts) ÷ Units per case
Shelf price = Cost per unit ÷ (1 − Target margin) then rounded up to your price ending

Example. A case of 24 drinks costs $28.80, plus $1.20 in freight. That's $30.00 for the case, or $1.25 per unit.

For a 35% margin: $1.25 ÷ 0.65 = $1.923.

Rounded up to end in .99, the shelf price is $1.99. At that price your margin is 37.2% and you make $0.74 a unit, or $17.76 on the case.

Packs versus units

What counts as a "unit" is whatever you ring up as one item. A case of four 6-packs is 24 units if you sell singles. If you only sell the 6-pack, set packs per case to 4 and units per pack to 1, and the price you get is for the whole 6-pack.

Why the price rounds up

The calculator always rounds up to the next price ending, never to the nearest one. Rounding $1.92 down to $1.89 would put you below the margin you asked for. Rounding up means the margin on the tag is always at or above your target.

If the rounded price feels too high for your shoppers, lower the target margin or try a different price ending. A price ending in 9 stays within ten cents of the exact price, while .99 can add almost a dollar.

What to count in the case cost

Common questions

Should I use margin or markup to price?
This calculator prices by margin because that's how gross profit shows up on your books. If you think in markup instead, the markup and margin calculator converts between them.
The distributor gave me a suggested retail price. How do I check it?
Enter your case cost and units here to get your cost per unit, then put that cost and the suggested price into the markup and margin calculator to see the margin it leaves you.
How do I handle a buy-one-get-one or multi-buy deal?
Work out the deal price per unit (for example, 2 for $3 is $1.50 each) and compare it to your cost per unit. If the supplier funds part of the deal, subtract that amount per case under discounts.

Last updated October 11, 2026.