Decimal ↔ Fraction
Math
Turns a decimal into a simplified fraction and a fraction into a decimal, and shows whether the decimal terminates or repeats, and how long the repeating block is.
A simplified fraction has a terminating decimal only if its denominator has no prime factors other than 2 and 5. Any other prime factor makes it repeat.
| Fraction | Decimal | Type |
|---|---|---|
| 3/8 | 0.375 | Terminating |
| 1/3 | 0.333... | Repeating (1 digit) |
| 1/7 | 0.142857... | Repeating (6 digits) |
0.45 = 45/100 = 9/20
0.1666... = 1/6
Results are for information only. For tax, salary, loan or health decisions, check official sources or ask a professional.