Math Calculators
Decimal to Fraction Converter - Terminating & Repeating
Convert any decimal to a simplified fraction. Supports terminating decimals, repeating decimals (e.g. 0.(3) = 1/3), negative numbers, and mixed-number form.
Fraction
3/4
Decimal
0.75
Numerator
3
Denominator
4
Steps
- Shift decimal 2 place(s): 075/10^2
- Simplify by GCD(3, 4)
How to convert a decimal to a fraction
Every terminating decimal can be written as an exact fraction by multiplying by the appropriate power of 10. For example, 0.75 becomes 75/100, which simplifies to 3/4 after dividing by GCD(75, 100) = 25.
Terminating vs. repeating decimals
A terminating decimal ends after a finite number of digits (0.5, 0.125, 3.14). A repeating decimal has one or more digits that repeat forever (0.333… = 0.(3), 0.1666… = 0.1(6)). Both types represent rational numbers and can be expressed as exact fractions.
Repeating decimal notation
Enter repeating digits inside parentheses. Examples:
0.(3)-> 0.333… -> 1/30.(6)-> 0.666… -> 2/30.1(6)-> 0.1666… -> 1/60.(142857)-> 0.142857142857… -> 1/70.(9)-> 0.999… -> 1 (a well-known mathematical identity)
Mixed numbers
When a fraction is greater than 1, it can also be written as a mixed number. For example, 7/4 = 1 3/4. The calculator shows both forms.
Common decimal-to-fraction conversions
- 0.5 = 1/2
- 0.25 = 1/4
- 0.75 = 3/4
- 0.2 = 1/5
- 0.125 = 1/8
- 0.(3) = 1/3
- 0.(6) = 2/3