Decimal to Fraction Calculator

Inputs

Put a repeating part in parentheses: 0.(3) = 0.333…

Finds the closest fraction with a denominator up to this number.

Results

Fraction
—
Mixed number
—
Percent
—

A decimal with a fixed number of digits is a fraction over 10, 100, 1,000 and so on; reducing it gives the simplest form. Repeating decimals are fractions too: 0.333… is exactly 1/3. This calculator does both exactly, without rounding errors.

How to use it

  1. Type the decimal. For a repeating decimal, put the repeating digits in parentheses.
  2. Read the fraction, the mixed number and the percent.
  3. To find a simpler fraction that’s close (for measuring or a recipe), enter the largest denominator you’ll accept.

Examples: 0.75 = 3/4 = 75%. 2.5 = 5/2 = 2 1/2. 0.(3) = 1/3. 1.1(6) = 1.1666… = 7/6. 3.14159265 with a largest denominator of 1,000 gives 355/113.

Questions and answers

How do you turn a decimal into a fraction by hand?

Write the digits over 1 followed by as many zeros as there are decimal places (0.75 = 75/100), then divide top and bottom by their greatest common divisor (25), giving 3/4.

How do repeating decimals become fractions?

Multiply by a power of 10 to shift one repeat, then subtract: if x = 0.333…, 10x − x = 3, so x = 3/9 = 1/3. The calculator does this for any repeating part.

What is the closest simple fraction for?

Real measurements rarely land on neat fractions. With a largest denominator of 8, 0.37 becomes 3/8; for pi, 22/7 and 355/113 are the famous close fractions.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
numberThe decimal; repeating digits in parentheses, e.g. 0.(3).
maxLargest denominator for the closest simple fraction.

Example: https://toolabelle.com/decimal-to-fraction/#number=0.75&max=16

Related tools