If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Converting a fraction to a repeating decimal

To convert a fraction like 19/27 into a decimal, you should divide 27 into 19, and use the remainder to figure out the decimal. The decimal begins 0.703703..., and the notation for a repeating decimal like this is to write the numbers that repeat and then put a line above them. The first six digits of the decimal should be included in the answer. Created by Sal Khan.

Want to join the conversation?

  • leafers sapling style avatar for user Lewis
    Is there a way to convert a repeating decimal back into a fraction? I just can't work it out.
    (179 votes)
    Default Khan Academy avatar avatar for user
  • piceratops seed style avatar for user Jome
    is 8th grade math important in college?
    (17 votes)
    Default Khan Academy avatar avatar for user
    • mr pink green style avatar for user David Severin
      Unlike some other subjects, Math builds on itself, so the concepts in 8th grade will be very important to do 9th grade Algebra and 10th grade Geometry which is needed to move to Algebra II, pre-calculus and calculus in college. For most degrees, you have to take some math classes.
      (38 votes)
  • starky sapling style avatar for user AlianaMarie Passey
    how do you know how many 0s to put down?
    (13 votes)
    Default Khan Academy avatar avatar for user
    • primosaur seed style avatar for user Ian Pulizzotto
      Supposed you've reached the stage of putting down only zeros after the decimal point from the dividend (inside number).
      Continue putting down zeros either until the remainders begin to repeat, or until a remainder is 0.
      In the first case, look at the repeating group of remainders. Consider the digit in the answer that is computed just after each remainder in the repeating group is found. These digits form the repeating group in the answer; the answer becomes a repeating decimal.
      In the second case, there are no more decimal digits to put in the answer; the answer is a terminating decimal.

      Have a blessed, wonderful day!
      (26 votes)
  • blobby green style avatar for user Carlos 💀
    Express the rational number 19/27 (or 19 27ths) as a terminating decimal or a decimal that eventually repeats. Include only the first six digits of the decimal in your answer." Let me give this a shot. So we want to express 19/27 – which is the same thing as 19 ÷ 27 – as a decimal. So let's divide 27 into 19. So 27 going into 19. And we know it's going to involve some decimals over here, because 27 is larger than 19, and it doesn't divide perfectly. So let's get into this. So 27 doesn't go into 1. It doesn't go into 19. It does go into 190. And it looks like 27 is roughly 30. It's a little less than 30. 30 times 6 would be 180. So let's go with it going 6 times. Let's see if that works out. Well, 6 × 7 is 42. 6 × 2 is 12, + 4 is 16. And when we subtract, 190 - 162 is going to get us – Actually, we could've had another 27 in there. Because when we subtract – So we get a 10 from the 10's place. So that becomes 8 10's. This became 28. So we could have put one more 27 in there. So let's do that. So let's put one more 27 in there. So 7 27's. 7 × 7 is 49. 7 × 2 is 14, + 4 is 18. And now our remainder is 1. We can bring down another 0. 27 goes into 10 0 times. 0 × 27 is 0. [Not "10," as Sal states by mistake.] Subtract – we have a remainder of 10. But now, we have to bring down another 0. So let's bring down this 0 right over here. So now, 27 goes into 100 3 times. 3 × 27 is 60 + 21, is 81. And then we subtract: 100 - 81. Well, we could take 100 from the 100's place, and make it 10 10's. And then we could take 1 of those 10's from the 10's place and turn it into 10 1's. And so 9 10's minus 8 10's is equal to 1 10. And then 10 -1 is 9. So it's equal to 19. You probably – You might have been able to do that in your head. And then we have – And I see something interesting here – because when we bring down our next 0, we see 190 again. We saw 190 up here. But let's just keep going. So 27 goes into 190 – And we already played this game. It goes into it 7 times. 7 × 27 – we already figured out – was 189. We subtracted. We had a remainder of 1. Then we brought down another 0. We said 27 goes into 10 0 times. 0 × 27 is 0. Subtract. Then you have – We still have the 10, but we've got to bring down another 0. So you have 27, which goes into 100 – (We've already done this.) –3 times. So you see something happening here. It's 0.703703. And we're just going to keep repeating 703. This is going to be equal to 0.703703703703 – on and on and on forever. So the notation for representing a repeating decimal like this is to write the numbers that repeat – in this case 7, 0, and 3 – and then you put a line over all of the repeating decimal numbers to indicate that they repeat. So you put a line over the 7, the 0, and the 3, which means that the 703 will keep repeating on and on and on. So let's actually input it into the answer box now. So it's 0.703703. And they tell us to include only the first six digits of the decimal in your answer. And they don't tell us to round or approximate – because, obviously, if they said to round to that smallest, sixth decimal place, then you would round up because the next digit is a 7. But they don't ask us to round. They just say, "Include only the first six digits of the decimal in your answer.
    (13 votes)
    Default Khan Academy avatar avatar for user
  • aqualine sapling style avatar for user NiamhMcD04
    I'm really confused where you got those 0's from and why it's such a big equation
    (11 votes)
    Default Khan Academy avatar avatar for user
  • starky seedling style avatar for user GoodLife2008
    hello everyone, does anyone have ideas for being three grades behind in math i dont wanna be behind anymore cause i get made fun of by other kids so i wanna be better but need ideas. if anyone has ideas it would really help im supposed to be in tenth grade next year. but barely know arithmetic
    (7 votes)
    Default Khan Academy avatar avatar for user
    • blobby blue style avatar for user Loksha
      Im kinda the opposite I am 2 years ahead of my math level in school, and I recommend that you try to focus on skills u don't do well in. Try to focus on your weakest points so you become better at them. I also recommend you keep doing khan academy because it's a really useful tool! Tbh the only way I got to where I am is because I take classes but khan academy is a really good substitute for it. Good Luck! :)
      (5 votes)
  • male robot donald style avatar for user Mighty Wanitprapha
    Why is a repeating decimal has only 6 digits?
    (0 votes)
    Default Khan Academy avatar avatar for user
  • male robot johnny style avatar for user dominicdebate88
    does it change if you get a three digit number as the denominator, or numerator
    (6 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user sarah.dasilva
    What is the difference between repeating decimals and a decimal that terminates?
    (5 votes)
    Default Khan Academy avatar avatar for user
  • sneak peak green style avatar for user garrett.conder
    what in the worldddddddd
    (6 votes)
    Default Khan Academy avatar avatar for user

Video transcript

PROBLEM: "Express the rational number 19/27 (or 19 27ths) as a terminating decimal or a decimal that eventually repeats. Include only the first six digits of the decimal in your answer." Let me give this a shot. So we want to express 19/27 – which is the same thing as 19 ÷ 27 – as a decimal. So let's divide 27 into 19. So 27 going into 19. And we know it's going to involve some decimals over here, because 27 is larger than 19, and it doesn't divide perfectly. So let's get into this. So 27 doesn't go into 1. It doesn't go into 19. It does go into 190. And it looks like 27 is roughly 30. It's a little less than 30. 30 times 6 would be 180. So let's go with it going 6 times. Let's see if that works out. Well, 6 × 7 is 42. 6 × 2 is 12, + 4 is 16. And when we subtract, 190 - 162 is going to get us – Actually, we could've had another 27 in there. Because when we subtract – So we get a 10 from the 10's place. So that becomes 8 10's. This became 28. So we could have put one more 27 in there. So let's do that. So let's put one more 27 in there. So 7 27's. 7 × 7 is 49. 7 × 2 is 14, + 4 is 18. And now our remainder is 1. We can bring down another 0. 27 goes into 10 0 times. 0 × 27 is 0. [Not "10," as Sal states by mistake.] Subtract – we have a remainder of 10. But now, we have to bring down another 0. So let's bring down this 0 right over here. So now, 27 goes into 100 3 times. 3 × 27 is 60 + 21, is 81. And then we subtract: 100 - 81. Well, we could take 100 from the 100's place, and make it 10 10's. And then we could take 1 of those 10's from the 10's place and turn it into 10 1's. And so 9 10's minus 8 10's is equal to 1 10. And then 10 -1 is 9. So it's equal to 19. You probably – You might have been able to do that in your head. And then we have – And I see something interesting here – because when we bring down our next 0, we see 190 again. We saw 190 up here. But let's just keep going. So 27 goes into 190 – And we already played this game. It goes into it 7 times. 7 × 27 – we already figured out – was 189. We subtracted. We had a remainder of 1. Then we brought down another 0. We said 27 goes into 10 0 times. 0 × 27 is 0. Subtract. Then you have – We still have the 10, but we've got to bring down another 0. So you have 27, which goes into 100 – (We've already done this.) –3 times. So you see something happening here. It's 0.703703. And we're just going to keep repeating 703. This is going to be equal to 0.703703703703 – on and on and on forever. So the notation for representing a repeating decimal like this is to write the numbers that repeat – in this case 7, 0, and 3 – and then you put a line over all of the repeating decimal numbers to indicate that they repeat. So you put a line over the 7, the 0, and the 3, which means that the 703 will keep repeating on and on and on. So let's actually input it into the answer box now. So it's 0.703703. And they tell us to include only the first six digits of the decimal in your answer. And they don't tell us to round or approximate – because, obviously, if they said to round to that smallest, sixth decimal place, then you would round up because the next digit is a 7. But they don't ask us to round. They just say, "Include only the first six digits of the decimal in your answer." So that should do the trick. And it did.