Decimal to Fraction Calculator
Convert any terminating decimal or whole number into a simplified fraction instantly, with clear step-by-step calculations and mixed-number results.
Was this calculator helpful?
Your feedback helps us improve our calculators.
What Is a Decimal to Fraction Calculator?
A decimal to fraction calculator is an online math tool that converts a decimal number into its equivalent fraction.
For example:
0.75=43
and
2.15=2043=2203
Decimals and fractions can represent exactly the same value. A terminating decimal can be written over a power of 10 based on the number of decimal places and then reduced to its simplest form.
Our decimal to fraction converter does this automatically. It also shows the calculation steps, making it useful when you need the answer and when you want to learn how to turn a decimal into a fraction manually.
How to Use the Decimal to Fraction Calculator
The calculator requires only one input, making decimal-to-fraction conversion quick and straightforward.
Step 1: Enter the Decimal Number
Enter a terminating decimal or whole number in the Decimal Number field.
For example:
2.15
Step 2: Click Calculate
Select the Calculate button to convert the decimal to its equivalent fraction.
Step 3: View the Fraction Value
The calculator displays the simplified fraction prominently in the result section.
For 2.15, the result is:
2043
Step 4: Review the Result Details
The result section shows:
Input: the original decimal you entered
Raw Fraction: the fraction before simplification
Simplified: the fraction reduced to lowest terms
Conversion Steps: a breakdown showing how the decimal was converted
For 2.15, you will see:
100215→2043
Because the result is an improper fraction, the conversion steps also show its mixed-number form:
2203
You can use the Copy button when you want to copy the final fraction.
Use Clear to reset the calculator and start another conversion.
How to Convert a Decimal to a Fraction
If you want to know how to change decimal to fraction without a calculator, the process is based on decimal place value.
The basic method is:
Write the decimal as a fraction over 1.
Count the digits after the decimal point.
Multiply the numerator and denominator by the appropriate power of 10.
Simplify the resulting fraction using the greatest common factor (GCF).
For example, suppose you want to convert 0.75 to a fraction.
There are two digits after the decimal point, so use 100 as the denominator:
0.75=10075
The greatest common factor of 75 and 100 is 25. Divide both by 25:
100÷2575÷2543
Therefore:
0.75=43
This place-value method is the standard approach for converting terminating decimals into fractions.
Decimal to Fraction Formula
For a terminating decimal with (n) digits after the decimal point, you can use:
Fraction=10nDecimal×10n
Where:
(n) = number of digits after the decimal point
(10n) provides the initial denominator
After creating the fraction, divide the numerator and denominator by their greatest common factor.
Denominator Based on Decimal Places
The number of decimal places determines the initial denominator.
Decimal Places | Initial Denominator | Example |
1 | 10 | (0.5=105) |
2 | 100 | (0.25=10025) |
3 | 1,000 | (0.125=1000125) |
4 | 10,000 | (0.0625=10000625) |
The fraction should then be reduced to its lowest terms.
Example: Convert 2.15 to a Fraction
The calculator screenshot provides a useful example of the complete conversion process.
1. Write the Decimal Over 1
Start with:
2.15=12.15
2. Remove the Decimal Point
There are two digits after the decimal point, so multiply the numerator and denominator by (10^2), or 100:
12.15×100100=100215
The raw fraction is therefore:
100215
3. Simplify the Fraction
The greatest common factor of 215 and 100 is 5.
Divide both values by 5:
100÷5215÷5=2043
So:
2.15=2043
4. Convert to a Mixed Number
Because 43 is greater than 20, the improper fraction can also be written as:
2043=2203
Therefore:
2.15=2043=2203
How to Simplify a Decimal Fraction
Converting the decimal into a fraction is only the first part of the process. The fraction should normally be reduced to its simplest form.
For example:
0.60=10060
Both 60 and 100 are divisible by 20:
100÷2060÷20=53
Therefore:
0.60=53
A fraction is in simplest form when its numerator and denominator have no common factor greater than 1.
Common Decimal to Fraction Conversions
Here are several frequently used conversions:
Decimal | Raw Fraction | Simplified Fraction |
0.1 | 1/10 | 1/10 |
0.2 | 2/10 | 1/5 |
0.25 | 25/100 | 1/4 |
0.4 | 4/10 | 2/5 |
0.5 | 5/10 | 1/2 |
0.6 | 6/10 | 3/5 |
0.75 | 75/100 | 3/4 |
0.8 | 8/10 | 4/5 |
1.25 | 125/100 | 5/4 |
1.5 | 15/10 | 3/2 |
2.5 | 25/10 | 5/2 |
These values illustrate an important point: the first fraction you create is not always the final answer. It often needs to be simplified.
Terminating vs. Repeating Decimals
It is important to distinguish between terminating and repeating decimals when converting decimals to fractions.
Terminating Decimals
A terminating decimal has a finite number of digits after the decimal point.
Examples include:
0.5
0.125
1.75
2.375
These can be converted directly using powers of 10.
For example:
0.125=1000125=81
The current calculator is intended for terminating decimals and whole numbers.
Repeating Decimals
A repeating decimal contains a digit or group of digits that continues indefinitely.
For example:
0.333…=31
A repeating decimal requires a different algebraic conversion method. It should not be treated as if the visible digits simply end. For instance, 0.333 is a terminating decimal equal to (333/1000), while (0.333\ldots) represents the exact fraction (1/3).
How to Convert a Whole Number to a Fraction
Whole numbers can also be expressed as fractions.
Simply place the whole number over 1:
0.333…=31
Similarly:
12=112
This works because dividing any number by 1 leaves its value unchanged.
Why Use a Decimal to Fraction Converter?
You can convert decimals manually, but a convert decimal to fraction calculator is especially useful when working with longer values.
It helps you quickly find the simplified fraction while also showing the intermediate calculation.
This can be useful for checking homework, verifying manual calculations, comparing measurements, and working with values that are easier to understand as fractions.
Because the decimal to fraction calculator shows both the raw and simplified fraction, it can also help you understand why a particular fraction is the correct result.
When Is Decimal-to-Fraction Conversion Useful?
Decimals and fractions are both common ways to represent parts of a whole, but one format may be more practical than the other depending on the situation.
Decimal-to-fraction conversion is commonly useful in:
Math and education: Students frequently switch between decimal and fractional representations when learning arithmetic, algebra, ratios, and rational numbers.
Measurements: Measurements may be given as decimals but need to be expressed as fractions, particularly when working with fractional units.
Construction and DIY projects: Fractional measurements can be easier to use with tools and plans that display divisions of an inch.
Recipes and cooking: Converting a decimal quantity into a familiar fraction may make an amount easier to measure.
Everyday calculations: Fractions can sometimes make relationships between quantities easier to recognize than decimal values.
Common Mistakes When Converting Decimals to Fractions
One common error is using the wrong denominator. The denominator depends on the number of decimal places, not the value of the digits.
For example:
0.35=10035
not:
1035
Another mistake is stopping before simplifying. Although (75/100) is equivalent to 0.75, the fraction in lowest terms is:
43
Be careful with repeating decimals as well. A typed value of 0.333 is a terminating decimal and is not mathematically identical to (0.333\ldots), where the 3 repeats forever.
Finally, do not remove leading zeros incorrectly. For example:
0.005=10005=2001
There are three decimal places, so the initial denominator is 1,000.
Tips for Accurate Decimal-to-Fraction Conversion
Count every digit after the decimal point, including zeros that affect place value. Use 10 for one decimal place, 100 for two, 1,000 for three, and so on.
After creating the raw fraction, always check whether the numerator and denominator share a common factor. Dividing by their GCF gives the fraction in lowest terms.
Also distinguish between a decimal that actually ends and notation indicating an infinitely repeating decimal. They may look similar when rounded but can represent different exact values.
Frequently Asked Questions (FAQs)
How do you turn a decimal into a fraction?
Write the decimal over 1, multiply the numerator and denominator by 10 for each decimal place, and then simplify the resulting fraction.
For example:
0.45=10045=209
How do you convert 0.5 to a fraction?
Write 0.5 as (5/10), then divide the numerator and denominator by 5:
0.5=105=21
How do you convert 0.25 to a fraction?
Because 0.25 has two decimal places:
0.25=10025
Simplify by dividing both numbers by 25:
0.25=41
How do you change 0.75 to a fraction?
Convert 0.75 to (75/100), then simplify:
10075=43
Therefore, 0.75 as a fraction is (3/4).
What is 1.5 as a fraction?
Since 1.5 has one decimal place:
1.5=1015=23
As a mixed number:
121
Can a decimal greater than 1 be converted to a fraction?
Yes. A decimal greater than 1 usually produces an improper fraction, which can also be expressed as a mixed number.
For example:
2.25=100225=49=241
Can whole numbers be written as fractions?
Yes. Any whole number can be written with a denominator of 1.
For example:
7=17
Are decimals and fractions the same value?
They can be different representations of the same number. For example:
0.5=21
and
0.25=41
Converting between them changes the representation, not the numerical value.
Does the decimal to fraction calculator simplify fractions automatically?
Yes. Based on the calculator's current result format, it displays the raw fraction and then reduces it to its simplified form. For example, 2.15 is first represented as (215/100) and then simplified to (43/20).
Can this decimal to fraction calculator convert repeating decimals?
The current calculator is designed for a terminating decimal or whole number input. Repeating decimals such as (0.333\ldots) require a different conversion method, so they should not be entered as though the repeating digits simply terminate.
Conclusion
Converting a decimal into a fraction means expressing the same numerical value as a ratio of integers. For a terminating decimal, use its place value to create the initial fraction and then reduce that fraction to lowest terms.
The decimal to fraction calculator makes the process faster by automatically showing the raw fraction, simplified fraction, and calculation steps. Whether you need to convert decimal to fraction for schoolwork, measurements, recipes, or everyday math, you can enter your decimal and get the equivalent fraction without working through each simplification manually.
Helpful Resources
Pro Tips
Include all decimal places for accurate fractional conversion.
The calculator will automatically simplify the fraction.
Handles integers as well.