Decimal to Fraction
Convert decimals to fractions or mixed numbers. Handles terminating and repeating decimals with step-by-step solutions.
Convert decimals to fractions or mixed numbers instantly. Supports both terminating and repeating decimals with step-by-step solutions.
How to Use
Turn any decimal into its fractional equivalent with this converter. When working with repeating decimals, simply indicate how many trailing digits form the repeating pattern to get the precise fraction.
How to Enter Repeating Decimals:
Handling Negative Decimals:
- Remove the minus sign first
- Convert the positive value normally
- Add the minus sign back to your fraction
For example: -0.75 → convert 0.75 → get 3/4 → final answer: -3/4
What is Decimal to Fraction?
This calculator changes decimal numbers into their fraction equivalents. Any decimal that ends (like 0.25) becomes a fraction over a power of ten. Decimals that go on forever with a repeating pattern (like 0.333...) also have exact fraction forms that this tool can calculate.
Two Kinds of Decimals:
Terminating Decimals
Stop after a certain number of digits
Like: 0.5, 0.75, 2.625
Repeating Decimals
One or more digits repeat endlessly
Like: 0.333..., 0.1666...
Formula
Method for Terminating Decimals:
Step 1: Place the decimal over 1
2.625 = 2.625/1
Step 2: Multiply both parts by 10 for each digit after the decimal point
2.625/1 × 1000/1000 = 2625/1000
Step 3: Reduce using the Greatest Common Factor
GCF is 125 → 2625÷125 / 1000÷125 = 21/8
Step 4: Write as mixed number when applicable
21/8 = 2 5/8
Method for Repeating Decimals:
Step 1: Set x equal to your repeating decimal
x = 0.666...
Step 2: Multiply by 10 raised to the number of repeating digits
10x = 6.666...
Step 3: Subtract the first equation from the second
10x − x = 6.666... − 0.666... → 9x = 6
Step 4: Solve for x and reduce
x = 6/9 = 2/3
Examples
Simple Decimal
0.625 = 5/8
From 625/1000 reduced
Decimal Greater Than 1
2.625 = 2 5/8
Same as 21/8
Single Digit Repeats
0.333... = 1/3
The 3 continues infinitely
Two Digits Repeat
0.363636... = 4/11
Pattern 36 repeats endlessly
Whole Plus Repeating
2.666... = 2 2/3
Or expressed as 8/3
Long Repeating Pattern
0.857142... = 6/7
All six digits cycle forever