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

Compare rational numbers using a number line

In this math tutorial, we learn to compare positive and negative numbers, decimals, and fractions using a number line. By visualizing the numbers on a number line, we can easily determine which number is greater or smaller. This method helps build a strong foundation in understanding number relationships and comparisons. Created by Sal Khan.

Want to join the conversation?

  • blobby green style avatar for user bailey44298
    -3/4 is bigger than -7/4?
    (9 votes)
    Default Khan Academy avatar avatar for user
    • leaf yellow style avatar for user SP
      Yes, that is correct. Whenever you have negative numbers, the number that would be bigger if it were positive is now the smaller number.

      For example, 10>2, but -10<-2.
      (16 votes)
  • male robot donald style avatar for user KWWWW
    if numbers are infinite can i just makea number like kwebblelygaziillion or something
    (10 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Steven
    So it is easier to use a number line
    (7 votes)
    Default Khan Academy avatar avatar for user
  • starky tree style avatar for user 🖤ANNALYN 🖤
    🛏️🕛
    👩🏻‍🦼🧥🔴
    (5 votes)
    Default Khan Academy avatar avatar for user
  • aqualine ultimate style avatar for user Yadassah
    i very understand this now. Before i had no idea how to compare rational numbers. Thank you so much Khan Acadmey. This video is very amazing and helpful to anyone who dosent understand. Thank you.
    (3 votes)
    Default Khan Academy avatar avatar for user
  • leaf orange style avatar for user bakerl152
    What we're gonna do in this video is get some practice comparing numbers, especially positive and negative numbers. So for each of these pairs of numbers, I want you to either write a less than sign or a greater than sign, or just think about which of these two is greater than the other. Pause this video and see if you can work through these four pairs. All right, now let's do it together. So let's first compare -7/4 to -3/4. And I'm going to try to do that by visualizing them on a number line. So let me draw a straighter line. There we go. Let's see, they're both negative, which means both to the left of zero. So I'll focus on the left of zero. So that's zero. And let's see, they're both given in fourths and we need to go all the way to 7/4, less than zero. So let me think of each of these as a fourth. So one, two, three, four. That would be -1. One, two, three, four. That would be -2 and that's enough for us, but I could keep going if I liked. Now, where is -7/4 on this number line? Well, I just said each of these is a fourth, so negative 1/4, 2/4, 3/4, 4/4, 5/4, 6/4, 7/4. So this right over here is -7/4. And where is negative -3/4 on the number line? - 1/4, -2/4, -3/4. So which one is greater? Well, we can see that -3/4 is to the right of -7/4. So -3/4 is greater or that -7/4 is less than -3/4. So I'll put a less than right over here. Let's do this next example. We're going to compare 0.6 to -1.8. If you haven't already given it a shot or if this previous example helped inspire something and you give it another shot, and then we'll do it together. So let's draw a number line again. And let me put zero right over here. That's 1. That's 2. This is -1. This is -2. And actually let me make half marks here, so we can get a little bit closer to thinking about where these two numbers sit on the number line. I'll start with 0.6. 0.6 is you could view that as 6/10. It's a little bit more than 5/10. It's a little bit more than 1/2. So 0.6 is gonna be roughly right around here on our number line, 0.6. And where is -1.8? Well, it's negative. So it's going to be to the left of zero, and we're gonna go 1.8 to the left. So this is -1. This is -2, that's too far. This is -1.5. - 1.8 is going to be roughly, let me do this in this color, right over here. It's going to be roughly right over there, -1.8. And so you can see that it is left of 0.6 on our number line. And so -1.8 is less than 0.6, or 0.6 is greater than -1.8. Let's do more examples here. Let's compare these two numbers. Well, once again, let me put them on a number line. And I wanna show you that the number line does not have to go left-right. It could go up-down. So let's try that. And I'll do it in a different color. So I'll make a line like this. And I am going to have, let's call this zero right over here. And so this is 1. This is 2. This is -1. This is -2. Now, where is 2 1/5 on the number line? So that is positive 1, positive 2. And then we're going to go about a fifth. So that'll get us roughly right over there. And then where is -1 1/10? Well, we're not gonna go below zero, so -1. And we're gonna go another 1/10 beyond that below zero. So it's gonna be roughly around there. So that is -1 1/10. And so we can see that -1 1/10 is less than positive 2 1/5, or positive 2 1/5 is greater than -1 1/10. Let's do one last example, comparing these two numbers here. And actually, I can extend this number line right over here, and I should be able to fit both of these numbers. So let me try to do that. So I'm going to extend it. This is -3 right over here. So where would -1.5 sit? Well, we're going below zero so that's a -1. - 1.5 would be another half, it'd be right in between -1 and -2. So -1.5 is right over there. And where would -2.5 be? Well, we go -1, -2, and then another half. So this right over here is -2.5. And we could see very clearly that -1.5 is higher than -2.5, so it is also greater. And we're done.
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user jaysonpatel
    so if it is a negative number the bigger one is he one closer to 0. Hope that helps.
    (2 votes)
    Default Khan Academy avatar avatar for user
  • male robot johnny style avatar for user Dabossiscarson
    Any questions
    on the video?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user jacobbower29
    Whats 2+2?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • mr pants teal style avatar for user drew.fillmore
    how to solve without a number line: -3/4 ? -7/4
    1. put -7/4 into a mixed number (Ex: -7/4 -> -1 3/4)
    2. get rid of "-" (Ex: -3/4 -> 3/4)
    3. which is the least one or which one is close to zero (Ex: 3/4 ? 1 3/4 = 3/4 > 1 3/4)
    4.put back "-" if you need to
    and done! C:
    (2 votes)
    Default Khan Academy avatar avatar for user

Video transcript

- [Sal] What we're gonna do in this video is get some practice comparing numbers, especially positive and negative numbers. So for each of these pairs of numbers, I want you to either write a less than sign or a greater than sign, or just think about which of these two is greater than the other. Pause this video and see if you can work through these four pairs. All right, now let's do it together. So let's first compare -7/4 to -3/4. And I'm going to try to do that by visualizing them on a number line. So let me draw a straighter line. There we go. Let's see, they're both negative, which means both to the left of zero. So I'll focus on the left of zero. So that's zero. And let's see, they're both given in fourths and we need to go all the way to 7/4, less than zero. So let me think of each of these as a fourth. So one, two, three, four. That would be -1. One, two, three, four. That would be -2 and that's enough for us, but I could keep going if I liked. Now, where is -7/4 on this number line? Well, I just said each of these is a fourth, so negative 1/4, 2/4, 3/4, 4/4, 5/4, 6/4, 7/4. So this right over here is -7/4. And where is negative -3/4 on the number line? - 1/4, -2/4, -3/4. So which one is greater? Well, we can see that -3/4 is to the right of -7/4. So -3/4 is greater or that -7/4 is less than -3/4. So I'll put a less than right over here. Let's do this next example. We're going to compare 0.6 to -1.8. If you haven't already given it a shot or if this previous example helped inspire something and you give it another shot, and then we'll do it together. So let's draw a number line again. And let me put zero right over here. That's 1. That's 2. This is -1. This is -2. And actually let me make half marks here, so we can get a little bit closer to thinking about where these two numbers sit on the number line. I'll start with 0.6. 0.6 is you could view that as 6/10. It's a little bit more than 5/10. It's a little bit more than 1/2. So 0.6 is gonna be roughly right around here on our number line, 0.6. And where is -1.8? Well, it's negative. So it's going to be to the left of zero, and we're gonna go 1.8 to the left. So this is -1. This is -2, that's too far. This is -1.5. - 1.8 is going to be roughly, let me do this in this color, right over here. It's going to be roughly right over there, -1.8. And so you can see that it is left of 0.6 on our number line. And so -1.8 is less than 0.6, or 0.6 is greater than -1.8. Let's do more examples here. Let's compare these two numbers. Well, once again, let me put them on a number line. And I wanna show you that the number line does not have to go left-right. It could go up-down. So let's try that. And I'll do it in a different color. So I'll make a line like this. And I am going to have, let's call this zero right over here. And so this is 1. This is 2. This is -1. This is -2. Now, where is 2 1/5 on the number line? So that is positive 1, positive 2. And then we're going to go about a fifth. So that'll get us roughly right over there. And then where is -1 1/10? Well, we're not gonna go below zero, so -1. And we're gonna go another 1/10 beyond that below zero. So it's gonna be roughly around there. So that is -1 1/10. And so we can see that -1 1/10 is less than positive 2 1/5, or positive 2 1/5 is greater than -1 1/10. Let's do one last example, comparing these two numbers here. And actually, I can extend this number line right over here, and I should be able to fit both of these numbers. So let me try to do that. So I'm going to extend it. This is -3 right over here. So where would -1.5 sit? Well, we're going below zero so that's a -1. - 1.5 would be another half, it'd be right in between -1 and -2. So -1.5 is right over there. And where would -2.5 be? Well, we go -1, -2, and then another half. So this right over here is -2.5. And we could see very clearly that -1.5 is higher than -2.5, so it is also greater. And we're done.