Decimal to Fraction Converter: Master Your Math Conversions
ByMuhammad Ali•Founder of KruskalCode
05:47
6 min read

Decimals and fractions are two fundamental ways to represent numbers, and being able to convert between them is a crucial skill in mathematics. Whether you're tackling homework, balancing a budget, or just curious, our Decimal to Fraction Converter is here to make the process simple and straightforward. This guide will walk you through the conversion process, explain the underlying math, and show you how to use our tool effectively.
Explanation
Converting a decimal to a fraction involves understanding place value. A decimal like 0.75 can be read as "seventy-five hundredths," which immediately suggests the fraction 75/100. The key is to write the decimal as a fraction with a denominator that is a power of 10 (like 10, 100, 1000, etc.), corresponding to the number of decimal places. Once you have this initial fraction, the next step is to simplify it to its lowest terms by finding the greatest common divisor (GCD) of the numerator and denominator and dividing both by it. This ensures your fraction is as simple as possible.
Formula
To convert a finite decimal to a fraction: 1. Count the number of digits after the decimal point. Let this be 'n'. 2. Write the decimal number without the decimal point as the numerator. 3. Write 10^n as the denominator. 4. Simplify the resulting fraction by dividing both the numerator and denominator by their greatest common divisor (GCD).
Example
Let's convert the decimal 0.8 to a fraction using the steps above. 1. The number of digits after the decimal point is 1 (the digit 8). So, n = 1. 2. The decimal number without the decimal point is 8. This is our numerator. 3. The denominator is 10^1 = 10. 4. So we have the fraction 8/10. Now, we find the GCD of 8 and 10, which is 2. 5. Divide both by 2: 8 ÷ 2 = 4, and 10 ÷ 2 = 5. The simplified fraction is 4/5. So, 0.8 is equal to 4/5.
How to use the related calculator
Using the ProMathTools Decimal to Fraction Converter is incredibly easy. Simply locate the "Decimal Number" input field on this page. Type in the decimal you wish to convert, such as 0.75, 1.25, or 0.333. As you type, or after you click "Calculate" (if applicable), the tool will instantly display the equivalent fraction in its simplest form. It will also show you the mixed number form if the decimal is greater than 1. This makes checking your homework or understanding conversions a breeze!
Try the related calculator
Open toolFAQ
How do I convert a decimal to a fraction manually?
Write the decimal as a fraction with a denominator of 1. Then, multiply both the numerator and denominator by a power of 10 (10, 100, 1000, etc.) until the numerator is a whole number. Finally, simplify the fraction by dividing both parts by their greatest common divisor (GCD).
Can this calculator handle repeating decimals?
This calculator is designed for finite decimals. Converting repeating decimals to fractions requires a slightly different algebraic method, which involves setting the decimal equal to 'x' and solving an equation. For example, 0.333. is 1/3.
Why is simplifying the fraction important?
Simplifying a fraction means reducing it to its lowest terms, where the numerator and denominator have no common factors other than 1. This makes the fraction easier to understand and work with, and it's generally considered the correct way to express a fractional answer in mathematics.
Related articles

About the author
Muhammad Ali. Muhammad Ali is a full-stack developer and founder of KruskalCode. He builds SaaS platforms and automation systems with React and Laravel, and helps teams ship fast, scalable tools.
Need a custom calculator, dashboard, or automation workflow? Reach out to KruskalCode.