Fraction Rounding Calculator

Type a fraction or decimal, specify target fractions precisely for rounding. Pick rounding modes, handle negatives, and format mixed numbers cleanly with ease. Use presets like halves, quarters, eighths, or set any denominator you prefer. Download CSV or PDF, and share accurate, rounded values.

Inputs
Advanced options included
Please enter a valid number (e.g., 1 3/8, -5/4, 2.75).
Please enter a positive integer denominator.
Examples: 2 → halves, 4 → quarters, 8 → eighths.
Quick presets:
Example Data

Click "Recompute from current settings" to apply your denominator and mode.

# Input Denominator Mode Rounded (mixed) As decimal
11 3/88half_even
2-5/48half_even
32.758half_even
40.333half_up
5-1.52half_down
Formula Used

Goal: round a real number x to the nearest fraction with denominator n.

  1. Convert any input to a real number: for a fraction a/b, use x = a ÷ b. For a mixed number w a/b, use x = sign(w) × (|w| + a/b).
  2. Compute k = round_mode(x × n) where round_mode applies your selected rule (half up, half down, half even, toward/away from zero, ceiling, floor).
  3. The rounded fraction is k/n. Reduce by gcd(|k|, n) and optionally format as a mixed number: k/n = s × (q + r/n) where q = ⌊|k|/n⌋ and r = |k| mod n, sign s ∈ {−1, +1}.

For decimals, the same formula applies because decimals are real numbers.

How to Use
  1. Enter a value as a fraction (e.g., 5/4), mixed number (e.g., 1 3/8), or decimal (e.g., 2.75).
  2. Set your target denominator or pick a quick preset.
  3. Choose a rounding mode: nearest with tie rules, directed, or truncation.
  4. Select the output format. Use decimal places if decimal output is chosen.
  5. Click Calculate. Inspect the result chips and the optional step-by-step explanation.
  6. Use the example table to try common cases and export CSV/PDF.
FAQs

It finds the closest multiple of the step 1/n. For example, with n=8, steps are eighths: …, −2/8, −1/8, 0, 1/8, 2/8, ….

Choose among tie-breaking rules: half up, half down, or half to even (bankers). Each rule decides which neighbor is picked when the distance is identical.

Yes. Choose “mixed number” to display as whole remainder/denominator. Improper and decimal formats are also available.

Yes. Rounding modes are implemented symmetrically, respecting signs for toward/away, ceiling, and floor behaviors.

Use the quick preset buttons or set any integer denominator. The algorithm works identically for all denominators.

Yes. Results are simplified using the greatest common divisor so outputs like 4/8 become 1/2.
Rounding Modes Cheat Sheet
Mode Definition Example (+1.25 to halves) Example (−1.25 to halves)
Nearest, ties to even Pick nearest; if tie, choose even neighbor. 1.25 → 1.0 −1.25 → −1.0
Nearest, ties go up Ties move away from zero on positives. 1.25 → 1.5 −1.25 → −1.5
Nearest, ties go down Ties move toward zero on positives. 1.25 → 1.0 −1.25 → −1.0
Toward zero (truncate) Drop fractional step toward zero. 1.25 → 1.0 −1.25 → −1.0
Away from zero Push fractional step away from zero. 1.25 → 1.5 −1.25 → −1.5
Ceiling Always round up (toward +∞). 1.25 → 1.5 −1.25 → −1.0
Floor Always round down (toward −∞). 1.25 → 1.0 −1.25 → −1.5

Tip: For measurements, “ties to even” reduces systematic bias across many readings.

Denominator Quick Reference & Typical Uses

Examples use nearest with ties to even and input x = 2.73.

Denominator n Step 1/n Rounded value As mixed Typical uses
20.52.52 1/2Carpentry rough cuts, quick estimates
30.333…2.666…2 2/3Cooking thirds, tiling layouts
40.252.752 3/4Woodworking quarters, fasteners
50.22.82 4/5Finance tenths/fifths, machining
80.1252.752 3/4Cabinetry, pipe fittings
100.12.72 7/10Metric approximations, decimals
160.06252.752 3/4Fine woodworking, metalwork
320.031252.718752 23/32Precision jigs, calibration
  • Maximum absolute error for nearest rounding ≤ 1/(2n).
  • Reducing the fraction preserves the same numeric value, just simplified.
  • Choose n based on your domain’s common increments and tolerances.

Related Calculators

Proportion and Ratio Calculatorsquare root calculator with stepsnegative square root calculatorfraction square root calculatorsquare root division calculatordecimal to square root calculatorderivative of square root calculatorharmonic mean calculatorbinomial distribution mean calculatordiscrete random variable mean calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.