Fraction to Decimal Converter

Math Updated 31 Oct 2026

Turns a fraction or a mixed number into a decimal, rounded to the number of decimal places you choose. It does the long division exactly, so you also see whether the decimal stops (like 3/8 = 0.375) or repeats forever (like 1/6 = 0.1666…), with the repeating block marked. The fraction in lowest terms and the value as a percentage are shown as well.

  • The whole number, numerator and denominator are integers.

Formula

decimal = n ÷ d; mixed number W n/d = W + n ÷ d (or −(|W| + n ÷ d) when W is negative)
  • Divide the numerator by the denominator. The long division either stops or starts repeating, because only d − 1 different remainders are possible.
  • A fraction in lowest terms has a terminating decimal exactly when its denominator has no prime factors other than 2 and 5 (like 8, 20 or 125).
  • Repeating digits are shown in brackets: 0.1(6) means 0.1666…. Rounding is done on the exact value, half away from zero, and trailing zeros are dropped.
  • Some tools add the whole number and the fraction literally (−2 + 1/4 = −1.75); this converter reads −2 1/4 the usual way, as −2.25.

7/8 as a decimal

Inputs
  • Fraction form: simple
  • Numerator (n): 7
  • Denominator (d): 8
  • Round to: 10

7 ÷ 8 = 0.875 exactly, because 8 = 2³. As a percentage it is 87.5%.

Sources & references

Frequently asked questions

How do I convert a fraction to a decimal?
Divide the top number by the bottom number. 3/4 = 3 ÷ 4 = 0.75, and 5/8 = 5 ÷ 8 = 0.625.
How do I convert a mixed number to a decimal?
Convert the fraction part and add the whole number. 2 3/5 = 2 + 0.6 = 2.6.
Why do some fractions give repeating decimals?
If the denominator (in lowest terms) has a prime factor other than 2 or 5, the division never ends. 1/3 = 0.333…, 1/7 = 0.142857142857… and 5/6 = 0.8333….
Is there a shortcut for denominators like 10, 100 or 1,000?
Yes, just move the decimal point: 37/100 = 0.37. You can also scale other denominators to one of these: 3/25 = 12/100 = 0.12.

Related calculators

Decimal to Fraction Converter Converts a decimal into a fraction in lowest terms and a mixed number, exactly. It handles repeating decimals too: say how many digits at the end repeat, or type the repeating block in brackets, such as 0.(3) for 0.333… = 1/3 or 1.2(45) for 1.24545… = 137/110. The working shows the power of ten (or the 999… denominator) used and the common factor cancelled. Fraction Calculator Adds, subtracts, multiplies and divides two fractions, simplifies a fraction to lowest terms, and converts between fractions and decimals. Fractions can be entered as simple fractions (7/4) or as mixed numbers (1 3/4). Every answer is reduced to lowest terms and also given as a mixed number, an exact decimal with any repeating digits marked, and a decimal rounded to six places, together with the working: the common denominator for addition and subtraction or the reciprocal for division. Adding Fractions Calculator Adds up to five fractions or mixed numbers and shows the working. The calculator finds the least common denominator (LCD), rewrites each fraction over it, adds the numerators and simplifies the answer. You get the result as a simplified fraction, as a mixed number and as a decimal. Negative fractions are allowed, so you can also use it to subtract. Long Division Calculator Divides one whole number by another and shows the long division step by step, the way it is taught at school: bring down a digit, see how many times the divisor goes in, multiply, subtract and carry the remainder. You get the quotient and remainder, the answer as a mixed number, and the exact decimal, with any repeating digits marked in brackets.