The Mechanics Behind Decimal Conversion
A decimal is just a fraction where the denominator is always a power of ten, that is 10, 100, 1000, and so on. The digits to the right of the decimal point tell you which power of ten to use. One digit after the decimal means tenths. Two digits means hundredths. Three digits means thousandths. The process of converting a decimal to a fraction is really just writing out what the decimal already represents and then simplifying. Here is the method. Take the decimal 0.375. Count three digits after the decimal, so the denominator is 1000. The numerator is 375. Write 375 over 1000. Now simplify by finding the greatest common divisor. Both numbers divide evenly by 125, giving you 3 over 8. That is the result. Now take 0.6. One digit after the decimal, so the denominator is 10. Numerator is 6. That gives you 6 over 10. Divide both by 2. You get 3 over 5.
Whole numbers are trivial. The decimal 4.0 is just 4, which you can write as 4 over 1. The decimal 7.5 has one digit after the point, so it becomes 75 over 10, which simplifies to 15 over 2 or 7 and 1 over 2 as a mixed number. I used to make mistakes on repeating decimals before I figured out the algebra trick for them. You write x equal to the repeating decimal, multiply both sides by a power of ten that shifts the decimal point past one full repeat cycle, subtract the original equation from the shifted one, and solve for x. It sounds complicated until you have done it a few times. Then it becomes automatic.
Where People Go Wrong
The most common error is skipping the simplification step or doing it wrong. Students will write 45 over 100 and call it a day instead of reducing it to 9 over 20. In engineering and construction work, that kind of unresolved fraction causes real problems. If you are cutting a board and your measurement says 45 hundredths of an inch but your tape measure is marked in twentieths, you need that simplified form to actually find the mark. Another mistake is misidentifying the place value. Someone sees 0.008 and writes 8 over 10 instead of 8 over 1000. The two zeros after the decimal but before the 8 are significant. They shift the denominator three places, not one. I learned this the hard way when I was calculating material shrinkage for a custom cabinet project. I used 8 over 10 instead of 1 over 125 and ended up with a cumulative error that made one of the dovetail joints about a sixteenth of an inch too short. The cabinet doors would not close properly.
Get the Full Details

Edge Cases and Practical Limitations
Not every decimal converts cleanly into a simple fraction, and that is worth understanding before you rely on the method. Some decimals terminate, meaning they end. Those always convert to exact fractions. Others repeat indefinitely. Those also convert exactly, but the resulting fraction can look ugly. For example, 0.142857 repeating is exactly 1 over 7, but if you do not recognize the repeating pattern you might spend a lot of time trying to simplify a massive numerator and denominator. There is also the issue of irrational decimals. Numbers like pi or the square root of 2 cannot be expressed as any fraction at all. No matter how many digits you write, you will never find an exact fractional representation. The conversion method simply does not apply. You can approximate, but approximation is not the same thing as conversion. Some decimals come from measurements that are already rounded. If a carpenter measures a board at 1.234 inches, that number is likely rounded to the nearest thousandth. Converting it to the fraction 617 over 500 implies a precision that probably does not exist in the original measurement. In those situations, rounding to a more practical fraction like 1 and 13 over 64 makes more sense because that is what your tools can actually resolve.
A Worked Example With a Negative Decimal
Decimals can be negative, and the same rules apply. Take negative 2.4. Ignore the sign for the conversion, then reapply it at the end. Two point four has one digit after the decimal, so it becomes 24 over 10. Simplify to 12 over 5. Reattach the negative sign and you get negative 12 over 5, or as a mixed number, negative 2 and 2 over 5. The negative sign sits in front of the entire number, not in the numerator or denominator separately, although mathematically those are equivalent. Decimal to fraction conversion comes up constantly in fields that use imperial measurements. Machinists work in fractions of an inch on calipers and micrometers. Nurses sometimes convert milliliter dosages that are given in decimal form into fraction-based measurements for liquid medications. Home cooks convert decimal cup measurements into fraction-based recipes because measuring cups are marked in halves, quarters, and eighths, not in decimals. In spreadsheet work, Excel and Google Sheets can do this automatically with the TEXT function or by changing cell format, but the underlying logic is still the same. Understanding the math means you can catch errors when the software produces unexpected results, which happens more often than you would think when you mix different regional number formatting settings.
The basic conversion is straightforward. Write the decimal as a fraction over the appropriate power of ten. Simplify by dividing the numerator and denominator by their greatest common divisor. Handle repeating decimals with the algebra method. Be aware of measurement precision limits. And remember that some numbers simply cannot be converted exactly because they are irrational.
