
Decimal to Fraction
Convert a decimal into its simplest fraction.
Fraction
3/8
0.375
Numerator
3
Denominator
8
AI Breakdown & Smart Takeaway
Plain-English insight on your numbers
Get a personalized explanation of what these results mean — and how to improve them.
How the Decimal to Fraction works
The Decimal to Fraction calculator instantly converts any decimal number — terminating or repeating — into its simplest fraction form, showing every reduction step clearly. It's ideal for students, engineers, cooks, and anyone who needs a clean fractional representation of a decimal value.
Converting a decimal to a fraction begins by recognizing what the decimal actually represents in terms of place value. A terminating decimal like 0.75 means 75 hundredths, so you write it as 75/100. The denominator is always a power of 10 — 10 for tenths, 100 for hundredths, 1000 for thousandths, and so on. Once you've expressed the decimal as that initial fraction, the real work is simplification: finding the greatest common divisor (GCD) of the numerator and denominator, then dividing both by it to produce the fully reduced fraction.
Simplifying the fraction is what separates a raw conversion from a genuinely useful result. The GCD — the largest whole number that divides evenly into both numerator and denominator — is typically found using the Euclidean algorithm, which repeatedly applies division with remainder until the remainder reaches zero. For 75/100, the GCD is 25, so the simplified result is 3/4. This step is critical because an unsimplified fraction like 75/100 and a simplified one like 3/4 are mathematically equal, but only the latter is in its lowest (or 'simplest') terms.
Repeating decimals require a different approach because they cannot be expressed with a finite number of decimal places. For a decimal like 0.333… (where 3 repeats), you set x = 0.333…, then multiply both sides by 10 to get 10x = 3.333…. Subtracting the original equation gives 9x = 3, so x = 3/9, which simplifies to 1/3. The number of nines in the denominator matches the length of the repeating block — one digit repeating means denominator 9, two digits repeating means 99, and so on. This algebraic method is exact, unlike rounding, and is the engine behind how the calculator handles repeating inputs.
A common mistake when converting decimals to fractions is forgetting to account for non-repeating digits that appear before the repeating block — for example, 0.1666… where only the 6 repeats, not the 1. In these mixed cases, the algebra is slightly more involved: multiply by enough powers of 10 to isolate the repeating portion, then subtract to eliminate it. Another frequent error is stopping simplification too early; always verify the final fraction by checking that the GCD of numerator and denominator is exactly 1. If any common factor remains, the fraction is not yet in its simplest form.
Formula
Terminating decimal: fraction = decimal digits / 10^(number of decimal places), then divide numerator and denominator by GCD. Repeating decimal (n repeating digits): x = repeating block / (10^n − 1), simplified by GCD. Mixed repeating (m non-repeating, n repeating digits): x = (full block − non-repeating block) / (10^(m+n) − 10^m), simplified by GCD.
Pro tips
- For quick mental conversion of common decimals, memorize key equivalents: 0.25 = 1/4, 0.5 = 1/2, 0.75 = 3/4, 0.1 = 1/10, and 0.333… = 1/3 — these appear constantly in everyday math.
- When entering a repeating decimal, use bar notation or clearly mark the repeating block (e.g., 0.3̄ or indicate '0.3 repeating') so the calculator applies the correct algebraic method rather than treating it as a terminating decimal.
- Always double-check your simplified fraction by multiplying numerator ÷ denominator on a separate calculator — the result should match your original decimal exactly for terminating decimals.
- If your decimal has many digits and you suspect it might be a repeating decimal in disguise (such as values from unit conversions or divisions), try entering it as a repeating decimal for a cleaner fractional result.
- For mixed numbers (decimals greater than 1, like 2.375), the calculator handles the whole number separately — but you can also convert the entire value as an improper fraction (19/8) and then interpret it as a mixed number (2 and 3/8) depending on your use case.
Key terms
- Terminating Decimal
- — A decimal that ends after a finite number of digits, such as 0.5 or 3.125, and can always be expressed as an exact fraction.
- Repeating Decimal
- — A decimal in which one or more digits repeat infinitely in a predictable pattern, such as 0.666… or 0.142857142857…, requiring an algebraic method to convert to a fraction.
- Greatest Common Divisor (GCD)
- — The largest positive integer that divides evenly into two numbers with no remainder, used to reduce a fraction to its simplest form.
- Simplest Form (Lowest Terms)
- — A fraction where the numerator and denominator share no common factor other than 1, making it the most reduced expression of that value.
- Numerator
- — The top number in a fraction, representing how many parts of the whole are being counted.
- Denominator
- — The bottom number in a fraction, representing the total number of equal parts the whole is divided into.



