Decimal to Fraction Calculator
Beta: this tool hasn't been fully reviewed yet. Double-check results before relying on them.
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
- —
- Closest simple fraction
- —
Your input is too long to share as a link, so the page address no longer includes it.
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
- Type the decimal. For a repeating decimal, put the repeating digits in parentheses.
- Read the fraction, the mixed number and the percent.
- 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.
| Parameter | What it sets |
|---|---|
number | The decimal; repeating digits in parentheses, e.g. 0.(3). |
max | Largest denominator for the closest simple fraction. |
Example: https://toolabelle.com/decimal-to-fraction/#number=0.75&max=16