DECIMAL TO FRACTION GUIDE
Decimal to Fraction Calculator – Convert Decimals, Repeating Decimals and Mixed Numbers to Fractions Online Free
Looking for a fast, accurate and free decimal to fraction calculator? Our decimal to fraction converter turns any decimal number into a simplified fraction in a single click, and it shows every step of the working so you can understand the answer instead of just copying it. Type 0.75 and get 3/4. Type 2.375 and get the improper fraction 19/8 and the mixed number 2 3/8 together. Type 0.333 with a repeating 3 and get exactly 1/3. The tool works as a decimal to fraction calculator with steps, a repeating decimal to fraction calculator, a decimal to mixed number converter, a decimal to improper fraction converter and a decimal to fraction in inches calculator for the 1/8, 1/16, 1/32 and 1/64 fractions you see on a tape measure. There is no signup, no app to install, no watermark and no limit on how many numbers you convert. Whether you want to convert a decimal to a fraction for maths homework, turn 0.625 into a measurement for a woodworking project, change 0.33 cups into a kitchen measurement, simplify a decimal answer from a spreadsheet or find a fraction that approximates pi, this one page covers it. It also answers the questions people ask most often: how do I turn a decimal into a fraction, what is 0.125 as a fraction, how do I convert a repeating decimal to a fraction, how do I change a decimal to a mixed number, how do I read decimal inches on a ruler and why does my calculator show a long decimal instead of a neat fraction. Use it on your phone, tablet or computer, whether you are a student in school or college, a teacher preparing worksheets, a carpenter, machinist, tailor or home cook, or simply someone who wants a clean fraction instead of a long decimal.
0.5
Decimal to Fraction Calculator with Steps
Use this decimal to fraction calculator to convert terminating decimals such as 0.2, 0.75, 1.5 or 3.125 into simplified fractions. The tool writes the decimal over a power of 10, finds the greatest common divisor, divides both numbers and shows the final answer in lowest terms. Because it works on the digits you type rather than on a floating point number, there are no rounding errors, so 0.1 is always exactly 1/10 and never something like 3602879701896397/36028797018963968.
0.(3)
Repeating Decimal to Fraction Calculator
Many decimals never end, but they repeat in a pattern, such as 0.333..., 0.1666... or 0.142857142857.... This repeating decimal to fraction converter accepts the non-repeating part and the repeating block separately and applies the algebra method for you. Enter 0 and 3 to get 1/3, enter 0.1 and 6 to get 1/6, or enter 0 and 142857 to get 1/7. It is the quickest way to convert recurring decimals into exact fractions.
1/16
Decimal to Fraction in Inches (1/16, 1/32, 1/64)
Tape measures, drill bits, wrenches and lumber sizes use fractions of an inch, while digital calipers and CAD software show decimals. Choose the nearest 1/8, 1/16, 1/32 or 1/64 option to turn a decimal inch reading such as 0.4375 or 0.62 into a fraction you can find on a ruler. The calculator rounds to the nearest mark, simplifies the fraction and tells you how far the result is from your original number.
Decimal to Fraction: Quick Answers to the Most Searched Conversions
Here are fast answers to the decimal to fraction questions people search for most. Type any of these decimals into the calculator above to see the full step-by-step working, or use the fraction to decimal calculator to check an answer in reverse.
Common decimals written as simplified fractions
| Question | Short answer |
| What is 0.75 as a fraction? | 3/4. Write 0.75 as 75/100, then divide both numbers by 25. |
| What is 0.125 as a fraction? | 1/8. Write 0.125 as 125/1000, then divide both numbers by 125. |
| What is 0.6 as a fraction? | 3/5. Write 0.6 as 6/10, then divide both numbers by 2. |
| What is 0.05 as a fraction? | 1/20. Write 0.05 as 5/100, then divide both numbers by 5. |
| What is 0.333… (repeating) as a fraction? | 1/3. The 3 repeats forever, so enter 0 as the decimal and 3 as the repeating digit. |
| What is 1.5 as a mixed number? | 1 1/2, which is the same as the improper fraction 3/2. |
| What is 0.4375 inch as a fraction? | 7/16 inch, because 0.4375 = 4375/10000, which simplifies to 7/16. |
What Is a Decimal and What Is a Fraction?
A decimal and a fraction are two different ways of writing the same kind of number: a part of a whole. A decimal uses the base ten place value system and a decimal point. In 0.75 the digit 7 is in the tenths place and the digit 5 is in the hundredths place, so the number means seven tenths plus five hundredths. A fraction writes the same amount as one whole number divided by another. The top number is the numerator, the bottom number is the denominator, and the fraction bar means divide. The fraction 3/4 means three parts out of four equal parts, which is the same as 3 divided by 4, which equals 0.75.
Decimals are easy to compare, add and enter into calculators, spreadsheets and computer programs. Fractions are easier to understand visually, often more exact, and still the standard for many everyday measurements such as recipes, sewing patterns, plumbing fittings and carpentry. A fraction like 1/3 can be written exactly, while its decimal form 0.3333... never ends. That is why being able to move between the two forms is a basic maths skill that is used from primary school right through to engineering, and why a reliable decimal to fraction converter saves so much time.
Every decimal that ends (a terminating decimal) and every decimal that repeats in a fixed pattern (a recurring or repeating decimal) can be written as a fraction of two whole numbers. Numbers that can be written this way are called rational numbers. Decimals that go on forever without repeating, such as pi or the square root of 2, are irrational numbers and cannot be written as an exact fraction, only approximated. This page covers all three cases.
How to Convert a Decimal to a Fraction (Step by Step)
Learning how to change a decimal into a fraction by hand is useful for exams, and it also helps you check the calculator. The method is the same for every terminating decimal. Follow these steps whenever you need to convert a decimal to a fraction without a calculator.
- Count the decimal places: Look at how many digits sit to the right of the decimal point. For 0.75 there are two, for 0.125 there are three and for 2.4 there is one.
- Write the digits over a power of 10: Remove the decimal point and use the digits as the numerator. Use 1 followed by as many zeros as there are decimal places as the denominator. So 0.75 becomes 75/100, 0.125 becomes 125/1000 and 2.4 becomes 24/10.
- Find the greatest common divisor (GCD): This is the largest number that divides both the numerator and the denominator exactly. For 75 and 100 the GCD is 25.
- Divide the top and bottom by the GCD: 75 ÷ 25 = 3 and 100 ÷ 25 = 4, so 0.75 = 3/4. The fraction is now in its simplest form because 3 and 4 share no common factor except 1.
- Convert to a mixed number if needed: If the numerator is larger than the denominator, divide to get a whole number and a remainder. For 24/10, simplify first to 12/5, then 12 ÷ 5 = 2 remainder 2, giving the mixed number 2 2/5.
- Check your answer: Divide the numerator by the denominator on a calculator. If you get the original decimal back, the conversion is correct.
The table below shows worked examples so you can see how the same steps apply to different numbers. Each row writes the decimal as a fraction over a power of 10, then reduces it.
Worked examples: converting decimals to simplified fractions
| Decimal |
Over a power of 10 |
GCD |
Simplified fraction |
Mixed number |
| 0.6 | 6/10 | 2 | 3/5 | Proper fraction |
| 0.75 | 75/100 | 25 | 3/4 | Proper fraction |
| 0.04 | 4/100 | 4 | 1/25 | Proper fraction |
| 0.125 | 125/1000 | 125 | 1/8 | Proper fraction |
| 0.0625 | 625/10000 | 625 | 1/16 | Proper fraction |
| 0.8125 | 8125/10000 | 625 | 13/16 | Proper fraction |
| 1.2 | 12/10 | 2 | 6/5 | 1 1/5 |
| 3.14 | 314/100 | 2 | 157/50 | 3 7/50 |
| 2.375 | 2375/1000 | 125 | 19/8 | 2 3/8 |
The Decimal to Fraction Formula and the GCD (Euclidean) Method
The decimal to fraction formula can be written in one line. If a decimal has n digits after the decimal point, then the decimal equals (the digits without the point) divided by 10 to the power n. After that, divide the numerator and denominator by their greatest common divisor to reach lowest terms. In symbols: decimal = digits ÷ 10ⁿ, then simplified fraction = (digits ÷ GCD) ÷ (10ⁿ ÷ GCD).
The fastest way to find the GCD by hand is the Euclidean algorithm. Divide the larger number by the smaller one, keep the remainder, then repeat with the smaller number and the remainder until the remainder is zero. The last non-zero remainder is the GCD. For 75 and 100: 100 = 1 × 75 + 25, then 75 = 3 × 25 + 0, so the GCD is 25. For 2375 and 1000: 2375 = 2 × 1000 + 375, then 1000 = 2 × 375 + 250, then 375 = 1 × 250 + 125, then 250 = 2 × 125 + 0, so the GCD is 125, and 2375/1000 reduces to 19/8. This is exactly what the calculator does in the background every time you press convert.
A useful shortcut: because the denominator is always a power of 10, its only prime factors are 2 and 5. That means the simplified denominator of any terminating decimal will only ever contain factors of 2 and 5, such as 2, 4, 5, 8, 10, 16, 20, 25, 32, 40, 50, 64 and so on. If you ever see a different prime such as 3 or 7 in the denominator of a terminating decimal answer, something went wrong.
Decimal to Mixed Number and Improper Fraction (Decimals Greater Than 1)
When a decimal is larger than 1, such as 1.5, 2.75 or 4.125, you can write the answer in two ways. An improper fraction has a numerator bigger than its denominator, for example 11/4. A mixed number combines a whole number with a proper fraction, for example 2 3/4. Both forms describe exactly the same value. School teachers often ask for mixed numbers, while engineers, programmers and spreadsheet users often prefer improper fractions because they are easier to calculate with. Our decimal to mixed number converter shows both at once.
There are two simple ways to get a mixed number. The first is to keep the whole part and convert only the digits after the decimal point: 2.75 is 2 plus 0.75, and 0.75 is 3/4, so the mixed number is 2 3/4. The second is to convert the whole decimal to an improper fraction, then divide: 2.75 = 275/100 = 11/4, and 11 ÷ 4 = 2 remainder 3, so the mixed number is 2 3/4. Both routes always agree. To go back from a mixed number to an improper fraction, multiply the whole number by the denominator, add the numerator and keep the same denominator: 2 3/4 = (2 × 4 + 3)/4 = 11/4.
Decimals greater than 1 as improper fractions and mixed numbers
| Decimal |
Improper fraction |
Mixed number |
| 1.25 | 5/4 | 1 1/4 |
| 1.5 | 3/2 | 1 1/2 |
| 1.75 | 7/4 | 1 3/4 |
| 2.25 | 9/4 | 2 1/4 |
| 2.5 | 5/2 | 2 1/2 |
| 3.5 | 7/2 | 3 1/2 |
| 3.75 | 15/4 | 3 3/4 |
| 4.2 | 21/5 | 4 1/5 |
| 5.125 | 41/8 | 5 1/8 |
| 10.5 | 21/2 | 10 1/2 |
Negative Decimals to Fractions
Negative decimals follow the same rules as positive ones. Ignore the minus sign, convert the number to a fraction, simplify it, then put the minus sign back in front. For example, -0.5 becomes -1/2, -0.75 becomes -3/4 and -2.75 becomes -11/4, which is the same as the mixed number -2 3/4. The sign always belongs to the whole fraction, not just the whole-number part, so -2 3/4 means negative (2 + 3/4) and not -2 + 3/4. Our decimal to fraction calculator accepts a leading minus sign and keeps the sign in the correct place for both the improper fraction and the mixed number.
How to Convert a Repeating Decimal to a Fraction
A repeating decimal, also called a recurring decimal, is a decimal where one digit or a block of digits repeats forever. It is often written with a bar over the repeating part or with dots, as in 0.333... or 0.1666.... Many students believe these cannot be written as fractions, but every repeating decimal is an exact fraction, and there is a neat algebra trick to find it. The method below works for any repeating decimal.
- Call the number x: For example, let x = 0.333...
- Multiply by a power of 10 that moves one full repeating block to the left of the point: The block 3 has one digit, so multiply by 10: 10x = 3.333...
- Subtract the original equation: 10x − x = 3.333... − 0.333..., so 9x = 3. The repeating tails cancel out exactly.
- Solve for x: x = 3/9, which simplifies to 1/3.
When some digits come before the repeating block, first multiply to move the non-repeating digits past the point, then multiply again to move one repeating block, and subtract. For x = 0.1666..., multiply by 10 to get 10x = 1.666... and by 100 to get 100x = 16.666.... Subtract: 90x = 15, so x = 15/90 = 1/6. A general shortcut is to write the number as (all digits − non-repeating digits) over (as many 9s as repeating digits, followed by as many 0s as non-repeating digits). For 0.1666..., that is (16 − 1)/90 = 15/90 = 1/6. For 0.142857 repeating, it is (142857 − 0)/999999 = 1/7. To use the calculator for these, put the non-repeating part in the decimal box and the repeating block in the repeating digits box.
Repeating decimal to fraction chart
| Repeating decimal |
Fraction |
How to enter it |
| 0.111... | 1/9 | Decimal 0, repeating 1 |
| 0.222... | 2/9 | Decimal 0, repeating 2 |
| 0.333... | 1/3 | Decimal 0, repeating 3 |
| 0.444... | 4/9 | Decimal 0, repeating 4 |
| 0.555... | 5/9 | Decimal 0, repeating 5 |
| 0.666... | 2/3 | Decimal 0, repeating 6 |
| 0.777... | 7/9 | Decimal 0, repeating 7 |
| 0.888... | 8/9 | Decimal 0, repeating 8 |
| 0.999... | 1 | Decimal 0, repeating 9 |
| 0.0833... | 1/12 | Decimal 0.08, repeating 3 |
| 0.1666... | 1/6 | Decimal 0.1, repeating 6 |
| 0.4166... | 5/12 | Decimal 0.41, repeating 6 |
| 0.8333... | 5/6 | Decimal 0.8, repeating 3 |
| 0.0909... | 1/11 | Decimal 0, repeating 09 |
| 0.2727... | 3/11 | Decimal 0, repeating 27 |
| 0.142857... | 1/7 | Decimal 0, repeating 142857 |
| 0.285714... | 2/7 | Decimal 0, repeating 285714 |
| 0.428571... | 3/7 | Decimal 0, repeating 428571 |
You may have noticed that 0.999... equals exactly 1. This surprises many people, but the algebra proves it: if x = 0.999..., then 10x = 9.999..., so 9x = 9 and x = 1. There is no gap between 0.999... and 1, because the repeating nines never stop.
Terminating, Repeating and Irrational Decimals: Which Can Become Fractions?
Not every decimal behaves the same way, and knowing the three types helps you understand what the calculator is doing and why. A terminating decimal has a finite number of digits, like 0.25 or 3.0625. A repeating decimal has a block of digits that repeats forever, like 0.666... or 0.142857142857.... An irrational decimal goes on forever without any repeating pattern, like pi (3.14159265...) or the square root of 2 (1.41421356...). Terminating and repeating decimals are rational and have exact fractions. Irrational decimals do not.
There is a simple test that tells you in advance whether a fraction will produce a terminating or a repeating decimal. Reduce the fraction to lowest terms and factor the denominator. If the only prime factors are 2 and 5, the decimal terminates. If any other prime factor such as 3, 7 or 11 appears, the decimal repeats. So 3/8 (denominator 2 × 2 × 2) gives 0.375 and 7/20 (denominator 2 × 2 × 5) gives 0.35, but 1/3 gives 0.333..., 1/6 gives 0.1666... and 1/7 gives 0.142857142857.... This is also why 1/3 cannot be written exactly with any finite number of decimal places, and why a fraction is sometimes a better way to store a value than a decimal.
Types of decimals and how to convert them
| Type |
Example |
Exact fraction? |
How to convert |
| Terminating | 0.875 | Yes, 7/8 | Write over a power of 10 and simplify |
| Repeating | 0.727272... | Yes, 8/11 | Use the algebra method or the repeating digits box |
| Irrational | 3.14159265... | No, only approximations | Use best approximation, such as 22/7 or 355/113 |
Decimal to Fraction Chart: Common Decimals as Fractions
If you only need a quick answer for a common number, a decimal to fraction chart is the fastest tool. The tables below list the decimals people look up most often, such as 0.5 as a fraction, 0.25 as a fraction, 0.75 as a fraction, 0.125 as a fraction, 0.2 as a fraction and 0.375 as a fraction. Bookmark this page and use the calculator above whenever your number is not in the chart.
Decimal to fraction chart (tenths, eighths, fifths and thirds)
| Decimal |
Fraction |
Decimal |
Fraction |
| 0.1 | 1/10 | 0.6 | 3/5 |
| 0.125 | 1/8 | 0.625 | 5/8 |
| 0.2 | 1/5 | 0.666... | 2/3 |
| 0.25 | 1/4 | 0.7 | 7/10 |
| 0.3 | 3/10 | 0.75 | 3/4 |
| 0.333... | 1/3 | 0.8 | 4/5 |
| 0.375 | 3/8 | 0.875 | 7/8 |
| 0.4 | 2/5 | 0.9 | 9/10 |
| 0.5 | 1/2 | 1.0 | 1 |
Decimal to fraction chart (twentieths and hundredths)
| Decimal |
Fraction |
Decimal |
Fraction |
| 0.01 | 1/100 | 0.45 | 9/20 |
| 0.02 | 1/50 | 0.55 | 11/20 |
| 0.04 | 1/25 | 0.65 | 13/20 |
| 0.05 | 1/20 | 0.85 | 17/20 |
| 0.15 | 3/20 | 0.95 | 19/20 |
| 0.35 | 7/20 | 0.99 | 99/100 |
Going the other direction is just as easy. To convert a fraction to a decimal, divide the numerator by the denominator. The next table is a quick fraction to decimal chart for the denominators people use most. Notice which ones end (2, 4, 5, 8, 10, 16, 20, 25, 32, 50, 64, 100) and which ones repeat (3, 6, 7, 9, 11, 12).
Fraction to decimal chart: unit fractions
| Fraction |
Decimal |
Type |
| 1/2 | 0.5 | Terminating |
| 1/3 | 0.3333... | Repeating |
| 1/4 | 0.25 | Terminating |
| 1/5 | 0.2 | Terminating |
| 1/6 | 0.1666... | Repeating |
| 1/7 | 0.142857... | Repeating |
| 1/8 | 0.125 | Terminating |
| 1/9 | 0.1111... | Repeating |
| 1/10 | 0.1 | Terminating |
| 1/11 | 0.0909... | Repeating |
| 1/12 | 0.0833... | Repeating |
| 1/16 | 0.0625 | Terminating |
| 1/20 | 0.05 | Terminating |
| 1/25 | 0.04 | Terminating |
| 1/32 | 0.03125 | Terminating |
| 1/50 | 0.02 | Terminating |
| 1/64 | 0.015625 | Terminating |
| 1/100 | 0.01 | Terminating |
Decimal to Fraction in Inches: 1/16, 1/32 and 1/64 Chart for Rulers and Tape Measures
In the United States and in many workshops around the world, lengths are still measured in inches and fractions of an inch. A standard tape measure marks halves, quarters, eighths and sixteenths, and finer rulers go to thirty-seconds and sixty-fourths. Digital calipers, CNC software, CAD drawings and spreadsheets usually give decimal inches such as 0.4375 or 0.625. To cut, drill or fit a part, you need to turn that decimal inch into the nearest fraction you can actually find on your tape. That is exactly what the nearest 1/8, 1/16, 1/32 and 1/64 options in the calculator are for.
The method is easy to do by hand too. Multiply the decimal part of the measurement by the denominator you want, round the answer to the nearest whole number, and write it over that denominator, then simplify. For 0.40 inch to the nearest 1/16, multiply 0.40 × 16 = 6.4, round to 6, and 6/16 simplifies to 3/8. The error is 0.40 − 0.375 = 0.025 inch, so you can see at a glance whether that precision is good enough for the job. For 0.4375 inch, 0.4375 × 16 = 7 exactly, so the answer is 7/16 with zero error. If the number has a whole part, keep it: 2.62 inches to the nearest 1/16 is 2 plus 0.62 × 16 = 9.92, which rounds to 10, so 2 10/16 = 2 5/8 inches.
Inch fractions in sixteenths with decimal inches and millimetres
| Fraction of an inch |
Decimal inch |
Millimetres (approx.) |
| 1/16 | 0.0625 | 1.59 mm |
| 1/8 (2/16) | 0.125 | 3.18 mm |
| 3/16 | 0.1875 | 4.76 mm |
| 1/4 (4/16) | 0.25 | 6.35 mm |
| 5/16 | 0.3125 | 7.94 mm |
| 3/8 (6/16) | 0.375 | 9.53 mm |
| 7/16 | 0.4375 | 11.11 mm |
| 1/2 (8/16) | 0.5 | 12.70 mm |
| 9/16 | 0.5625 | 14.29 mm |
| 5/8 (10/16) | 0.625 | 15.88 mm |
| 11/16 | 0.6875 | 17.46 mm |
| 3/4 (12/16) | 0.75 | 19.05 mm |
| 13/16 | 0.8125 | 20.64 mm |
| 7/8 (14/16) | 0.875 | 22.23 mm |
| 15/16 | 0.9375 | 23.81 mm |
| 1 (16/16) | 1.0 | 25.40 mm |
For finer work such as machining, jewellery, model making and precision woodworking, you may need the full sixty-fourths chart. The table below lists every 1/64 inch step from 1/64 to 63/64 with its decimal inch value. Fractions that can be reduced are shown in lowest terms, so 2/64 is listed as 1/32 and 32/64 is listed as 1/2.
Decimal to fraction chart in 64ths of an inch (1/64 to 32/64)
| 64ths |
Lowest terms |
Decimal inch |
64ths |
Lowest terms |
Decimal inch |
| 1/64 | 1/64 | 0.015625 | 17/64 | 17/64 | 0.265625 |
| 2/64 | 1/32 | 0.03125 | 18/64 | 9/32 | 0.28125 |
| 3/64 | 3/64 | 0.046875 | 19/64 | 19/64 | 0.296875 |
| 4/64 | 1/16 | 0.0625 | 20/64 | 5/16 | 0.3125 |
| 5/64 | 5/64 | 0.078125 | 21/64 | 21/64 | 0.328125 |
| 6/64 | 3/32 | 0.09375 | 22/64 | 11/32 | 0.34375 |
| 7/64 | 7/64 | 0.109375 | 23/64 | 23/64 | 0.359375 |
| 8/64 | 1/8 | 0.125 | 24/64 | 3/8 | 0.375 |
| 9/64 | 9/64 | 0.140625 | 25/64 | 25/64 | 0.390625 |
| 10/64 | 5/32 | 0.15625 | 26/64 | 13/32 | 0.40625 |
| 11/64 | 11/64 | 0.171875 | 27/64 | 27/64 | 0.421875 |
| 12/64 | 3/16 | 0.1875 | 28/64 | 7/16 | 0.4375 |
| 13/64 | 13/64 | 0.203125 | 29/64 | 29/64 | 0.453125 |
| 14/64 | 7/32 | 0.21875 | 30/64 | 15/32 | 0.46875 |
| 15/64 | 15/64 | 0.234375 | 31/64 | 31/64 | 0.484375 |
| 16/64 | 1/4 | 0.25 | 32/64 | 1/2 | 0.5 |
Decimal to fraction chart in 64ths of an inch (33/64 to 63/64)
| 64ths |
Lowest terms |
Decimal inch |
64ths |
Lowest terms |
Decimal inch |
| 33/64 | 33/64 | 0.515625 | 49/64 | 49/64 | 0.765625 |
| 34/64 | 17/32 | 0.53125 | 50/64 | 25/32 | 0.78125 |
| 35/64 | 35/64 | 0.546875 | 51/64 | 51/64 | 0.796875 |
| 36/64 | 9/16 | 0.5625 | 52/64 | 13/16 | 0.8125 |
| 37/64 | 37/64 | 0.578125 | 53/64 | 53/64 | 0.828125 |
| 38/64 | 19/32 | 0.59375 | 54/64 | 27/32 | 0.84375 |
| 39/64 | 39/64 | 0.609375 | 55/64 | 55/64 | 0.859375 |
| 40/64 | 5/8 | 0.625 | 56/64 | 7/8 | 0.875 |
| 41/64 | 41/64 | 0.640625 | 57/64 | 57/64 | 0.890625 |
| 42/64 | 21/32 | 0.65625 | 58/64 | 29/32 | 0.90625 |
| 43/64 | 43/64 | 0.671875 | 59/64 | 59/64 | 0.921875 |
| 44/64 | 11/16 | 0.6875 | 60/64 | 15/16 | 0.9375 |
| 45/64 | 45/64 | 0.703125 | 61/64 | 61/64 | 0.953125 |
| 46/64 | 23/32 | 0.71875 | 62/64 | 31/32 | 0.96875 |
| 47/64 | 47/64 | 0.734375 | 63/64 | 63/64 | 0.984375 |
| 48/64 | 3/4 | 0.75 | 64/64 | 1 | 1.0 |
A practical tip for workshop use: choose the finest denominator your tool can actually read. There is no benefit in rounding to 1/64 if your tape measure only shows 1/16, and a result that is 0.01 inch off may be perfectly acceptable for framing but far too loose for a machined fit. The accuracy line in the result panel tells you the exact difference between your decimal and the fraction, so you can decide for yourself.
Nearest Fraction and Best Approximation: What Is the Difference?
The calculator offers three different ways to answer, and each one suits a different job. Exact mode reads the digits you typed and returns the precise fraction, so 0.3125 becomes 5/16 and 0.35 becomes 7/20. It never rounds. Nearest 1/n mode picks a fixed denominator such as 16, 32 or 64 and finds the closest fraction with that denominator, which is ideal for rulers, measuring cups and any scale marked in fixed steps. Best approximation mode searches for the fraction with the smallest possible numerator and denominator (up to 100 or up to 1000) that is closest to your decimal, which is ideal for long, messy decimals and irrational numbers. This uses a continued fraction method, the same mathematics used to find famous approximations like 22/7 for pi.
Famous decimals and their best fraction approximations
| Number |
Decimal value |
Approximation |
Approximation as decimal |
| Pi (π) | 3.14159265... | 22/7 | 3.142857... |
| Pi (π) | 3.14159265... | 355/113 | 3.14159292... |
| Square root of 2 | 1.41421356... | 99/70 | 1.414286... |
| Square root of 2 | 1.41421356... | 577/408 | 1.414216... |
| Euler's number (e) | 2.71828183... | 19/7 | 2.714286... |
| Golden ratio | 1.61803399... | 21/13 | 1.615385... |
Try typing 3.14159 into the calculator and switching to best approximation with a denominator up to 1000. You will see 355/113, which is off by only about 0.000003. Type 0.33 and you will get 33/100 in both exact mode and best approximation mode, because 0.33 is exactly 33/100. If you really mean one third, type 0.333 and enter 3 in the repeating digits box instead.
Percent to Fraction and Decimal to Percent
Percentages, decimals and fractions are three views of the same number. A percentage is a fraction with a denominator of 100. To go from a decimal to a percentage, multiply by 100, so 0.75 is 75%. To go from a percentage to a fraction, put the percentage over 100 and simplify, so 75% is 75/100, which is 3/4. The result panel of this calculator shows the percentage for every conversion, which makes it handy for discounts, interest rates, exam scores and statistics.
Percent, decimal and fraction conversion chart
| Percent |
Decimal |
Fraction |
| 5% | 0.05 | 1/20 |
| 10% | 0.1 | 1/10 |
| 12.5% | 0.125 | 1/8 |
| 20% | 0.2 | 1/5 |
| 25% | 0.25 | 1/4 |
| 33.33...% | 0.333... | 1/3 |
| 37.5% | 0.375 | 3/8 |
| 40% | 0.4 | 2/5 |
| 50% | 0.5 | 1/2 |
| 60% | 0.6 | 3/5 |
| 62.5% | 0.625 | 5/8 |
| 66.66...% | 0.666... | 2/3 |
| 75% | 0.75 | 3/4 |
| 80% | 0.8 | 4/5 |
| 87.5% | 0.875 | 7/8 |
| 100% | 1.0 | 1 |
Decimal to Fraction for Cooking and Baking (Cups, Tablespoons and Teaspoons)
Recipes written in decimals, such as 0.75 cup of flour or 1.5 teaspoons of salt, can be awkward to measure, because measuring cups and spoons are marked in fractions. Online recipe scalers and nutrition apps often output decimals after you double or halve a recipe, so a quick decimal to fraction conversion turns 0.33 cup into a usable 1/3 cup and 2.25 cups into 2 1/4 cups. Remember that 1 cup equals 16 tablespoons and 1 tablespoon equals 3 teaspoons, so you can also convert awkward fractions into smaller spoons: 1/3 cup is 5 tablespoons plus 1 teaspoon.
Decimal cups as fractions and tablespoons
| Decimal cups |
Fraction of a cup |
Tablespoons |
| 0.125 | 1/8 cup | 2 tbsp |
| 0.25 | 1/4 cup | 4 tbsp |
| 0.333... | 1/3 cup | 5 tbsp + 1 tsp |
| 0.375 | 3/8 cup | 6 tbsp |
| 0.5 | 1/2 cup | 8 tbsp |
| 0.666... | 2/3 cup | 10 tbsp + 2 tsp |
| 0.75 | 3/4 cup | 12 tbsp |
| 1.0 | 1 cup | 16 tbsp |
When a recipe says 0.33 cup, it almost always means one third of a cup, so use the repeating digits box or the best approximation option rather than exact mode if you want 1/3 and not 33/100. This small habit makes scaled recipes much easier to follow.
Decimal to Fraction for Woodworking, Machining, Sewing and Construction
Many trades still communicate in fractions even though modern tools show decimals. A carpenter reading 0.78125 inch from a digital caliper needs to know that it is 25/32 inch. A machinist converting a drawing dimension of 0.5625 inch needs to know that it is 9/16 inch, which is also the size of a standard socket. A tailor working from a pattern may see a seam allowance of 0.625 inch, which is 5/8 inch, and a plumber may need to match 0.375 inch tubing to a 3/8 inch fitting. Drill bit charts, fastener sizes, sheet metal gauges, pipe sizes and lumber dimensions are all given in fractions, so a reliable decimal to fraction converter for inches prevents expensive mistakes.
- Carpentry and framing: Convert decimal measurements from laser measures and apps into the 1/16 inch marks on your tape.
- Machining and metalwork: Match decimal drawing dimensions to fractional drill bits, reamers and stock sizes.
- Sewing and quilting: Turn decimal seam allowances and scaled pattern pieces into 1/8 and 1/4 inch marks.
- Plumbing and electrical: Convert decimal pipe, conduit and wire dimensions into standard fractional sizes.
- 3D printing and CAD: Translate decimal model dimensions into real-world fractional measurements for assembly.
- DIY and home improvement: Convert shelf, frame and tile measurements without a conversion chart on the wall.
Decimal Odds to Fractional Odds
Another place where people ask how to convert a decimal to a fraction is odds notation. Decimal odds show the total return for a one unit stake, including the stake itself, while fractional odds show only the profit relative to the stake. To change decimal odds to fractional odds, subtract 1 from the decimal odds and convert the result to a simplified fraction. For example, decimal odds of 2.50 minus 1 equals 1.5, which is 3/2, so the fractional odds are 3/2. This page is only a maths tool and not betting advice, but the conversion is a clean practical example of decimal to fraction work.
Decimal odds to fractional odds
| Decimal odds |
Subtract 1 |
Fractional odds |
| 1.25 | 0.25 | 1/4 |
| 1.5 | 0.5 | 1/2 |
| 1.8 | 0.8 | 4/5 |
| 2.0 | 1.0 | 1/1 (evens) |
| 2.5 | 1.5 | 3/2 |
| 3.0 | 2.0 | 2/1 |
| 3.5 | 2.5 | 5/2 |
| 5.5 | 4.5 | 9/2 |
How to Convert a Decimal to a Fraction on a Calculator, in Excel, Google Sheets and Python
Besides this online decimal to fraction calculator, there are several other ways to get a fraction from a decimal, and it helps to know them. On many scientific calculators, such as the Casio fx series, you can press the S⇔D key to switch an answer between decimal and fraction form. On a Texas Instruments TI-84 you can type the decimal, then open the MATH menu and choose 1: ►Frac. Both only work well for decimals that the calculator can recognise as exact fractions, and they usually fail for long decimals with many digits.
In Microsoft Excel and Google Sheets, select the cells, open Format Cells (or the number format menu), and choose the Fraction category. Excel offers options such as up to one digit, up to two digits, up to three digits and as halves, quarters, eighths, sixteenths, tenths or hundredths. You can also use the TEXT function with a format such as # ?/? or # ??/?? to display a decimal as a fraction while keeping the underlying value. In Python, the fractions module converts a decimal string exactly, as in Fraction("0.75"), which returns 3/4, and Fraction("0.333").limit_denominator(100) returns 1/3. Passing a string rather than a float is important, because floating point numbers store tiny binary rounding errors that make exact conversion unreliable. This web tool follows the same rule and works on your typed digits, which is why it gives clean answers.
Decimal ko Fraction Mein Kaise Badlein (For Students in Pakistan, India and South Asia)
Students in Pakistan, India, Bangladesh, Nepal and Sri Lanka meet decimals and fractions early, in primary and middle school maths, and then again in matric, intermediate, board exams and entrance tests. The most common question is simple: decimal ko fraction mein kaise convert karte hain? The short method is the same everywhere. Pehle decimal ke digits ko bina point ke likhein, phir neeche 1 ke saath utne zero lagayein jitne digits decimal point ke baad hain, aur phir dono numbers ko un ke GCD se divide kar dein. For example, 0.75 ko 75/100 likhein, GCD 25 hai, to jawab 3/4 aata hai. Repeating decimal ke liye algebra method use karein, jaise 0.333... = 1/3.
Teachers can use this page to check worksheet answers quickly, and parents can use it to help with homework without having to relearn every rule. Students who are preparing for exams should still practise the steps by hand and use the calculator only to check their answer and see the working. Exam questions often ask for the answer in lowest terms or as a mixed number, so always look for the simplified fraction and mixed number lines in the result panel.
Common Mistakes When Converting Decimals to Fractions
Even people who know the method make small slips that lead to wrong answers. Watching for these common mistakes will save you marks in exams and money in the workshop.
- Forgetting to simplify: 75/100 is correct but not finished. Always reduce to lowest terms, which gives 3/4.
- Using the wrong power of 10: The number of zeros must match the number of decimal places. 0.05 is 5/100, not 5/10, which would be 0.5.
- Treating 0.33 as exactly 1/3: 0.33 is exactly 33/100. Only 0.333... with repeating threes is exactly 1/3.
- Dropping the whole number: 2.5 is 5/2 or 2 1/2, never just 1/2.
- Putting the minus sign in the wrong place: -2.75 is -11/4 or -2 3/4, not -2 and +3/4.
- Rounding too early: Round only at the very end. Rounding a decimal first and then converting adds avoidable error.
- Confusing inch decimals with millimetres: 0.5 inch is 1/2 inch, but 0.5 mm is not a fractional inch measurement. Check your unit first.
- Trusting floating point output: A spreadsheet or program showing 0.30000000000000004 is displaying a binary rounding artefact. The true intended value is 0.3 = 3/10.
How to Use This Decimal to Fraction Calculator (Step by Step)
Using the free decimal to fraction converter takes only a few seconds. You do not need an account or an app, and the result updates as you type.
- Type the decimal: Enter the number in the decimal box. You can use a leading minus sign for negative numbers and either a dot or a comma as the decimal separator.
- Add repeating digits if needed: If the decimal repeats, type the repeating block in the second box. For 0.1666... type 0.1 and 6.
- Choose the result type: Keep Exact fraction for a precise answer, pick Nearest 1/16, 1/32 or 1/64 for ruler fractions, or choose Best approximation for long decimals.
- Click Convert to fraction: The simplified fraction, mixed number, percentage and accuracy appear instantly.
- Read the steps: Open the step-by-step working to see how the decimal was written over a power of 10 and reduced by the GCD.
- Try the quick examples: Click any example chip to see how common decimals and repeating decimals are handled, then press Reset to start again.
Common Uses: Why People Convert Decimals to Fractions
A decimal to fraction calculator is one of the most useful everyday maths tools. It helps in school, at work and at home, and almost everyone needs it from time to time. Here are some of the most popular uses.
- Maths homework and exam revision: Check answers, see the working and learn how simplifying and mixed numbers work.
- Teaching and worksheets: Create answer keys for decimal to fraction worksheets in seconds.
- Measurement and trades: Turn caliper and CAD decimals into tape measure fractions.
- Cooking and recipe scaling: Convert decimal cup and spoon amounts into measurable fractions.
- Spreadsheets and data work: Present decimal results as clean fractions in reports.
- Finance and statistics: Express ratios, probabilities and percentages as simple fractions.
- Programming and computer science: Understand and avoid floating point issues by using exact fractions.
- Odds and probability: Convert decimal probabilities and odds to fractional form.
Decimal to Fraction Examples: Everyday Decimals Written as Simplified Fractions
The table below shows more decimal to fraction examples that students, cooks and tradespeople look up all the time. Each row shows how the decimal is written over a power of 10 and then reduced. If you need to add, subtract or compare the fractions afterwards, use the fraction calculator.
Decimal to fraction examples with simplifying steps
| Decimal | Simplified fraction | How it simplifies |
| 0.2 | 1/5 | 2/10, divide by 2 |
| 0.35 | 7/20 | 35/100, divide by 5 |
| 0.45 | 9/20 | 45/100, divide by 5 |
| 0.15 | 3/20 | 15/100, divide by 5 |
| 0.08 | 2/25 | 8/100, divide by 4 |
| 0.06 | 3/50 | 6/100, divide by 2 |
| 2.5 | 5/2 or 2 1/2 | 25/10, divide by 5 |
| 3.75 | 15/4 or 3 3/4 | 375/100, divide by 25 |
| 0.0625 | 1/16 | 625/10000, divide by 625 |
How to Check a Decimal to Fraction Answer
A quick check takes a few seconds and catches most mistakes before they cost you marks or material.
- Divide it back: Divide the numerator by the denominator. 3 ÷ 4 = 0.75, so 3/4 is correct. The fraction to decimal calculator does this and shows the long division.
- Check the lowest terms: The numerator and denominator should share no common factor other than 1. If both are even, or both end in 0 or 5, keep reducing.
- Check the whole number: For decimals above 1, the whole number in the mixed number must match the whole part of the decimal.
- Check the unit: For ruler and tape measure work, confirm that the fraction is in inches and that the nearest 1/16, 1/32 or 1/64 setting matches your tool.
Troubleshooting: Common Decimal to Fraction Calculator Problems and Fixes
Most decimal to fraction results are straightforward, but a few inputs cause confusion. If your answer does not look right, check these points first.
- You got a huge fraction such as 333333/1000000: Exact mode converts exactly the digits you typed. If the decimal really repeats, enter the repeating digit in the repeating digits box to get 1/3, or switch to the best approximation option.
- The inch answer is slightly different from your decimal: The nearest 1/16, 1/32 and 1/64 options round to the closest ruler mark, and the calculator shows how far the fraction is from your decimal.
- The fraction does not match your textbook: This calculator always reduces to lowest terms with the GCD. Compare the result with the "before simplifying" value to see the reduction.
- A negative decimal looks different: The minus sign stays on the whole fraction, so -0.75 becomes -3/4.
- You expected a mixed number: Decimals greater than 1 are shown as an improper fraction and as a mixed number, for example 2.375 is 19/8 and 2 3/8.
Is This Decimal to Fraction Calculator Free, Safe and Private?
Yes. The decimal to fraction calculator is free, needs no signup, no app and has no usage limit. Everything is calculated inside your browser, so the numbers you type are never uploaded, saved or stored on our server. Nothing is kept when you close or refresh the page. The results are meant for learning, homework and everyday work. For safety-critical or legal measurements, always double-check against your official specification.
More Free Tools You May Need
Decimals and fractions are often one step in a bigger maths or measurement job. These related free tools help with the rest:
Free Online Decimal to Fraction Converter on Any Device, No App Needed
Our decimal to fraction converter runs in your web browser, so you can use it on Windows, Mac, Linux, Android and iPhone without installing anything. Whether you search for a decimal to fraction calculator for mobile, a decimal to fraction converter for PC, a decimal to fraction app alternative or a quick decimal to fraction tool on a school tablet, the steps are exactly the same. Open the page, type your decimal, choose your result type and read the answer. There is no account to create and no email to confirm, and because the calculation happens on your own device, the numbers you type stay private. The page loads quickly even on slow connections, and the layout adjusts automatically to small screens, so it is just as comfortable on a phone in the workshop or kitchen as on a desktop in the classroom.
Free Decimal to Fraction Calculator: Fast, Exact and Easy to Understand
Our free decimal to fraction calculator was built to make the conversion clear for everyone. You get an exact simplified fraction, a mixed number, the greatest common divisor, a percentage, the type of decimal, an honest accuracy figure and a full step-by-step explanation. It handles terminating decimals, repeating decimals, negative numbers and numbers greater than 1, and it can round to the fractions you see on a ruler or a measuring cup. We never ask for your name or email, and we never store the numbers you enter. Use the tool whenever you need to convert a decimal to a fraction, check homework, read a caliper, scale a recipe or simplify a long decimal, and come back as often as you like.
Ready to try it? Scroll back up, type your decimal and get your fraction in seconds. If you enjoy simple everyday utilities, explore the other free tools on our site.