Decimal to Fraction Converter
Convert your decimal to a reduced fraction and get its numerator and denominator for the entered value.
Quick answer
Convert your decimal to a reduced fraction and get its numerator and denominator for the entered value. Formula: A terminating decimal is an integer divided by a power of ten.
Decimal (period in parentheses): 0.125 → Numerator: 1.
Use a decimal point. Examples: 0.125, 0.(3), 1.2(34). Up to eight nonrepeating and six repeating digits.
Results update as you type.
How it works
A terminating decimal is an integer divided by a power of ten. For a repeating decimal, multiplying by the appropriate powers of ten and subtracting cancels the repeating tail. The greatest common divisor then reduces the numerator and denominator. The entered digits are treated as exact. Writing 0.333 gives 333/1000, whereas 0.(3) gives 1/3. Parentheses denote a repeating block, not multiplication. Very large whole parts are rejected if exact integer arithmetic cannot be guaranteed. Use it to convert measured-looking classroom decimals into rational form, compare exact fractions or understand recurring decimal notation. The reduced denominator is always positive and the negative sign, when present, belongs to the numerator. State explicitly whether digits terminate or repeat. A rounded decimal approximation generally does not reproduce the original fraction. Check the result by dividing numerator by denominator and examining the initial digits or the repeated block. Inputs are Decimal (period in parentheses). Results show Numerator, Denominator, Reduced fraction. 0.125=125/1000=1/8.
finite: digits/10ⁿ; repeating: (full digits−nonrepeating digits)/[10ⁿ(10ʳ−1)]
A terminating decimal is an integer divided by a power of ten. For a repeating decimal, multiplying by the appropriate powers of ten and subtracting cancels the repeating tail. The greatest common divisor then reduces the numerator and denominator. The calculation uses finite: digits/10ⁿ; repeating: (full digits−nonrepeating digits)/[10ⁿ(10ʳ−1)].
Source:OpenStax: Algebra and Trigonometry; standard algebraic identities
We review all our tools from time to time to ensure accuracy.
Worked example
How to use this calculator
- 1
Enter your values
Enter decimal (period in parentheses).
- 2
Adjust the options
Fine-tune any options to match your situation.
- 3
Read your result
Numerator updates instantly as you type — no button to press.
Frequently asked questions
How does the decimal to fraction calculation work?
A terminating decimal is an integer divided by a power of ten. For a repeating decimal, multiplying by the appropriate powers of ten and subtracting cancels the repeating tail. The greatest common divisor then reduces the numerator and denominator. The model is written as finite: digits/10ⁿ; repeating: (full digits−nonrepeating digits)/[10ⁿ(10ʳ−1)].
Which inputs and units should I use?
Inputs are Decimal (period in parentheses). Results show Numerator, Denominator, Reduced fraction. State explicitly whether digits terminate or repeat. A rounded decimal approximation generally does not reproduce the original fraction. Check the result by dividing numerator by denominator and examining the initial digits or the repeated block.
What are the limits of this calculation?
The entered digits are treated as exact. Writing 0.333 gives 333/1000, whereas 0.(3) gives 1/3. Parentheses denote a repeating block, not multiplication. Very large whole parts are rejected if exact integer arithmetic cannot be guaranteed. State explicitly whether digits terminate or repeat. A rounded decimal approximation generally does not reproduce the original fraction. Check the result by dividing numerator by denominator and examining the initial digits or the repeated block.
When is this result useful?
Use it to convert measured-looking classroom decimals into rational form, compare exact fractions or understand recurring decimal notation. The reduced denominator is always positive and the negative sign, when present, belongs to the numerator. A terminating decimal is an integer divided by a power of ten. For a repeating decimal, multiplying by the appropriate powers of ten and subtracting cancels the repeating tail. The greatest common divisor then reduces the numerator and denominator.
How can I check the worked example?
0.125=125/1000=1/8. State explicitly whether digits terminate or repeat. A rounded decimal approximation generally does not reproduce the original fraction. Check the result by dividing numerator by denominator and examining the initial digits or the repeated block. A terminating decimal is an integer divided by a power of ten. For a repeating decimal, multiplying by the appropriate powers of ten and subtracting cancels the repeating tail. The greatest common divisor then reduces the numerator and denominator.
More Math calculators
Related calculators
Fraction Calculator
Add, subtract, multiply or divide two fractions.
Percentage Calculator
Find what X% of a number is, instantly.
System of Equations Calculator (2×2)
Solve two linear equations in two unknowns with Cramer's rule.
Prime Factorization Calculator
Break a number into its prime factors.
Calculated with HS Calculadora · https://hscalculadora.com/en/math/decimal-to-fraction-calculator