Round to the Nearest Cent Calculator

Enter a dollar amount and choose a rounding rule to round it to the nearest cent (two decimal places), with the exact digit that decided the direction.

Quick Facts

Standard rule
Round half up
If the thousandths digit (3rd decimal) is 5 or more, round the cents up; otherwise leave it unchanged.
Formula
round(x × 100) ÷ 100
Shift to whole cents, round to the nearest integer, then shift back.
Banker's rounding
Round half to even
Only changes exact halfway cases; used in accounting systems to avoid cumulative upward bias.

Your Results

Calculated
Rounded Amount
-
Nearest cent using the selected rule
Original Amount
-
Value entered before rounding
Rounding Adjustment
-
Rounded amount minus original amount
Rule Applied
-
Digit and rule that decided the direction

Ready

Enter a dollar amount and choose a rounding rule, then press Calculate.

How Rounding to the Nearest Cent Works

Money is normally written to two decimal places — dollars and cents — but calculations like sales tax, tips, interest, unit pricing, and split bills routinely produce a third decimal place or more (for example, $19.995). Rounding to the nearest cent converts that raw, over-precise figure into a valid currency amount using a defined rule, so the number can actually be charged, paid, or recorded.

Formula and method

The standard method, round half up, works in three steps: multiply the amount by 100 to shift it into whole cents (so $19.995 becomes 1999.5 cents), round that to the nearest whole cent by checking the thousandths digit — the third decimal place of the original dollar amount — and divide by 100 to convert back to dollars. If the thousandths digit is 5, 6, 7, 8, or 9, the cents round up; if it is 0, 1, 2, 3, or 4, the cents stay the same. So $19.995 → 1999.5 → 2000 cents → $20.00, while $19.994 → 1999.4 → 1999 cents → $19.99. Some accounting and payroll systems instead use round half to even (banker's rounding): it applies the same rule except in the rare case where the amount is exactly halfway between two cents, where it rounds to whichever cent is even rather than always rounding up — this keeps rounding bias from accumulating in one direction across thousands of transactions.

Common mistakes when rounding currency

  • Floating-point storage errors: computers store many decimals as approximate binary fractions, so a value like 19.995 may be stored internally as 19.994999999999997 and round the wrong way if the software isn't careful.
  • Rounding intermediate steps: rounding a per-unit price or a tax rate before multiplying, instead of rounding only the final total, compounds small errors across many line items.
  • Truncating instead of rounding: simply dropping extra decimals (always rounding down) systematically shortchanges whoever is owed the money over many transactions.
  • Confusing "nearest cent" with "nearest dollar": rounding to the nearest cent keeps two decimal places (e.g., $19.995 → $20.00), not zero decimal places (e.g., $19.995 → $20).

When each rounding rule is used

Round half up is the everyday default for retail receipts, invoices, and most sales tax and tip calculations. Round half to even (banker's rounding) shows up in accounting, payroll, and financial reporting systems that process large batches of transactions, since it avoids a persistent upward drift. Always-round-up is used where a business wants to guarantee it never comes up short, such as currency exchange margins or minimum-charge rules; always-round-down (truncation) appears in some tax and regulatory contexts that specifically require it.

Real-world applications

Rounding to the nearest cent shows up whenever a calculation produces more precision than currency allows: computing sales tax or a tip on a bill, splitting a shared expense evenly among several people, converting between currencies at a given exchange rate, pricing an item per unit (per ounce, per square foot), and calculating interest accrued on a loan or savings account.

Frequently Asked Questions

What is the rule for rounding to the nearest cent?
Look at the thousandths digit (the third decimal place). If it is 5 or greater, round the cents up by one; if it is 4 or less, leave the cents unchanged. For example, $19.995 rounds up to $20.00, while $19.994 rounds down to $19.99.
What is banker's rounding (round half to even) and when is it used?
Banker's rounding, or round half to even, only changes the standard rule when the amount is exactly halfway between two cents (the thousandths digit is 5 with nothing beyond it). Instead of always rounding up, it rounds to whichever cent is even. Some accounting and payroll systems use it because it prevents rounding bias from accumulating upward over many transactions.
Why do rounding differences show up in spreadsheets or financial software?
Computers store many decimal values as approximate binary fractions, so a number like 19.995 may actually be stored as 19.994999999999997. If software rounds that stored value naively, it can round down when a person doing it by hand would round up. Rounding based on the decimal digits directly, or rounding only the final total instead of every intermediate step, avoids this error.
Should I round at every step of a calculation or only at the end?
Round only the final result. Rounding intermediate values (like a per-item price before multiplying by quantity, or a tax rate before applying it to a subtotal) compounds small errors across many transactions and can produce totals that are off by several cents.