Decimal to Fraction Converter
Convert decimal numbers to simplified fractions instantly. Supports repeating decimals (0.333...), mixed numbers, and step-by-step reduction logic.
( ) for repeating digits. Ex: 0.3(3) for 1/3.
About
This tool converts decimal numbers into their precise rational fraction equivalents. Unlike standard calculators that approximate values, this converter uses BigInt arithmetic to handle arbitrary precision, ensuring that even complex repeating decimals (e.g., 0.1(6)) are transformed into exact fractions (e.g., 16).
It distinguishes between terminating decimals (which have a finite number of digits) and repeating decimals (rational numbers with infinite recurring sequences). The result is automatically reduced to its simplest form using the Greatest Common Divisor (GCD) algorithm.
Formulas
For a terminating decimal x, count the decimal places d. The fraction is:
For a repeating decimal (e.g., 0.1(6) where 6 repeats):
Reference Data
| Decimal | Fraction | Type |
|---|---|---|
| 0.125 | 18 | Terminating |
| 0.333... | 13 | Repeating |
| 0.1(6) | 16 | Repeating |
| 0.75 | 34 | Terminating |
| 3.14159 | 314159100000 | Approximation |