Business and Pricing

Price List Rounding Rule Applier

Paste items with cost and price, then choose a step and an ending to round every price at once.

Your numbers

Item, cost and current price, separated by commas. Margin is measured on the price: (price minus cost) / price.

For example 1, 5, 10 or 0.05.

Use 0.01 for endings like 9.99 and 0 for plain rounding. The prices allowed are k x step minus this amount.

Example value. Lines below this margin after rounding are flagged.

Result

Change in the price list total

($0.41)

6 of 6 prices changed.

Total before
$111.35
Total after
$110.94
Margin on the total before
61.52%
Margin on the total after
61.38%
Lines below the margin floor
0

Each item

ItemBeforeAfterMargin after
Canvas tote$14.30$13.9954.3%
Ceramic mug$8.72$8.9965.5%
Linen napkins$24.18$23.9962.5%
Candle$12.40$11.9964.6%
Notebook$5.55$5.9964.9%
Wool scarf$46.20$45.9960.9%
How this was calculated
  1. The allowed prices are k x 1 minus 0.01 for whole numbers k of 1 or more.
  2. Nearest picks the allowed price closest to the current one, with ties going up. Up picks the smallest allowed price at or above it, and down the largest at or below it.
  3. Margin is (price minus cost) divided by price. It is recalculated after rounding, and lines under your floor are flagged.
  4. Rounding is repeatable: running the rule on prices it already produced changes nothing.
  • The page applies the arithmetic you choose. Whether a price ending suits your customers or your market is your decision, and prices that include tax or must follow local rules are not handled.

Calculated using SumPanda.com · https://sumpanda.com/price-list-rounding-rule-applier/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the price list rounding rule applier

  1. Paste one line per item: name, cost and current price, separated by commas.
  2. Choose the multiple to round to, the amount to subtract (for example 0.01 for endings like 9.99) and the direction: nearest allowed price, up or down.
  3. Set a margin floor. Lines that fall below it after rounding are flagged.
  4. Read the before and after prices, the change on each line and the margin before and after, then copy the table or download the CSV.

Formula

allowed prices = k x step - offset, for whole numbers k of 1 or more

nearest: the closest allowed price, ties going up; up: smallest allowed price at or above; down: largest at or below

margin = (price - cost) / price

A step of 1 and an offset of 0.01 allows 0.99, 1.99, 2.99 and so on. An offset of 0 is plain rounding to the step. Running the rule on prices it already produced changes nothing.

Charm endings on six items

With a step of $1, an offset of $0.01 and nearest rounding, the sample prices $14.30, $8.72, $24.18, $12.40, $5.55 and $46.20 become $13.99, $8.99, $23.99, $11.99, $5.99 and $45.99. The changes are -$0.31, +$0.27, -$0.19, -$0.41, +$0.44 and -$0.21, which add up to a drop of $0.41 on a list that totals $111.35.

The margin on the list total goes from 61.52% to 61.38%. The canvas tote has a cost of $6.40, so its margin moves from 55.2% to 54.3%. With a margin floor of 30%, no line is flagged. Choosing up instead of nearest would raise every price that is not already an allowed price.

Direction and the size of the change

Nearest rounding moves a price by less than half a step, up or down. Rounding up always raises prices, which protects margin, and rounding down always lowers them, which gives customers the benefit. With an offset, the allowed prices are not evenly centered on the step, so the largest move can be a little different from half the step.

Very low prices can fall below the smallest allowed price. In that case the smallest allowed price, one step minus the offset, is used.

Checking margins after rounding

Rounding changes margin, sometimes by more than a point on low-priced items. The table shows margin on the price before and after, and the footer figures show the effect on the whole list. Items below your floor are flagged so you can choose a different step for them.

Whether a price ending suits your customers is your decision, and prices that must include tax or follow a local rule need extra care. Turn a cost into a price with the Markup Calculator, check one margin with the Profit Margin Calculator, or print the list with the Price List Generator.

Assumptions and limits

  • Prices and costs are in the same currency, and a price must be above zero. The cost can be zero.
  • The multiple must be at least 0.01 and the amount to subtract must be smaller than it.
  • Up to 1,000 lines are read. Amounts are handled in whole cents.
  • Tax, discounts and local pricing rules are not modeled.
  • Nothing typed here leaves your browser.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

How do I round to .95 or .49 instead of .99?

Set the amount to subtract to 0.05 for .95 endings or 0.51 with a step of 1 for .49 endings. The allowed prices are always multiples of the step minus that amount.

Why did a price not change?

It was already an allowed price, such as 9.99 with a step of 1 and an offset of 0.01. The rule leaves allowed prices where they are.

What does the margin floor do?

It marks lines whose margin after rounding is below the percent you set. It does not change any price, so you can review those lines and decide.

Does it round up or down on a tie?

In nearest mode a price exactly halfway between two allowed prices goes up. Choose down if you prefer to favor the customer in those rare cases.