Skip to content
LunaCalc

Math

Fraction to Decimal Converter

Convert a proper or mixed fraction to a rounded decimal.

Calculator

About this calculator

This fraction to decimal converter changes a proper or mixed fraction into a decimal with the rounding precision you choose.

Formula notes

Decimal value = whole number + numerator ÷ denominator, rounded to the selected number of decimal places.

Worked examples

  1. Example: 1/3 rounded to 3 decimal places is 0.333.
  2. The mixed fraction 2 7/8 equals 2.875 as a decimal.

How to use it

  1. Choose a simple fraction or mixed-number form.
  2. Enter the numerator and a nonzero denominator.
  3. Select the rounding precision and read the decimal result.

Frequently asked questions

What happens if the denominator is zero?

Division by zero is undefined, so the calculator rejects a zero denominator.

Can I keep more than six decimal places?

Yes. The custom option supports up to 16 decimal places when the extra precision is useful.

Limits and interpretation

  • Rounding can hide repeating digits, so the displayed decimal may not preserve the exact rational value.
  • The denominator must be nonzero, and very large numerator or denominator values may exceed ordinary floating-point precision.

References