Decimal to Binary - Simple conversion trick

Поділитися
Вставка
  • Опубліковано 8 кві 2019
  • This video explains how to convert from Decimal to Binary with a simple trick.
    This is not the 'remainder method' - this trick is more intuitive and simple.
    This method can be used also to convert from decimal to hexadecimal, or from hexadecimal to binary, or any other base that you want, as simple as that.
    This video also covers the basic understanding of binary numbers and decimal numbers and what is a "base".
    So if you're looking for an easy way, or maybe even the easiest method to convert Decimal number to Binary number, you've come to the right place.
    Binary number is a number that is represented by 1 and 0.
    Decimal number is a regular number that you use on a daily basis.
    Feel free to comment with questions.

КОМЕНТАРІ • 82

  • @jeffstack4217
    @jeffstack4217 4 роки тому +23

    If you're going to draw a chart might as well subtract, that way you'd know instantly. Much faster
    Using your example;
    292 - 256 = 36,
    we know instantly to skip everything else and go right to 32.
    36 - 32 = 4, skip everything else and goto (

    • @gel6888
      @gel6888 3 роки тому

      This trick is a lot easier. Thanks a lot.

    • @travelintrovert6351
      @travelintrovert6351 3 роки тому

      convert 202 (decimal number) to binary

    • @apocalypticbean
      @apocalypticbean Рік тому +1

      the point is not to subtract because it's harder

    • @Ishani132
      @Ishani132 Місяць тому

      I didnt learn how to convert from the yt vid but ur example!

  • @dvgelectrician1605
    @dvgelectrician1605 3 роки тому +19

    Nothing easier than this.

  • @porksandcheese
    @porksandcheese 3 роки тому +5

    Thank you this really helped had no idea what I was doing trying to homeschool my daughter and this made sense immediately 😊

    • @MeirGabay
      @MeirGabay  3 роки тому

      So happy to hear that! Very inspiring :)

  • @mraccountancy2023
    @mraccountancy2023 Рік тому

    it cant be explained better than this
    you rock!!!!

  • @sds1483
    @sds1483 8 місяців тому

    Thank you sir this was EXTREMELY HELPFUL. I understood how to do it but I didn’t realise that a method could be that simple 😊

  • @fahadabid9160
    @fahadabid9160 Рік тому

    Much easier trick
    Keep doing such appreciable work
    Thank you

  • @youshakhan007
    @youshakhan007 2 роки тому +1

    Highly appreciatable work 💗💗

  • @noahdell8676
    @noahdell8676 Рік тому

    That was extremely helpful, I appreciate it. I was so confused earlier. Hopefully I’ll get better after taking my computer science class

  • @xp3569
    @xp3569 11 місяців тому

    Thanks a lot buddy, it was very helpful .

  • @Subhankar-Venkumahanti
    @Subhankar-Venkumahanti 5 місяців тому +1

    Thank you so much bro , It helped me a lot , love from CS Undergrad India 😀

  • @yerison8616
    @yerison8616 2 роки тому +1

    thank you so much for this ❣️

  • @jisoo_stan_346
    @jisoo_stan_346 Рік тому

    Thanks a lot for this!

  • @AnilKumar-oi7vr
    @AnilKumar-oi7vr 2 роки тому +2

    Amazing video seeing from India

  • @mohamed6272
    @mohamed6272 4 роки тому +10

    Thanks a lot for this, it's way better than my professor's method.
    I would've loved more examples though, just to make sure I got the hang of it.

    • @MeirGabay
      @MeirGabay  4 роки тому +1

      Hey Moe, if you want to make sure that you're doing it right, you can Google it like this - 23 to binary. Ignore "0b", this is how computers realize that the rest of the number is binary

  • @contentbible615
    @contentbible615 Рік тому +1

    Interesting thank you for sharing 🙂

  • @Truncatesalt
    @Truncatesalt 3 роки тому +3

    Thank you fam.

  • @mokshivlogs281
    @mokshivlogs281 2 роки тому +1

    it helped me so much. i aced in my exam

  • @pratikdhame
    @pratikdhame 2 роки тому

    Nicely done ✅

  • @Tanessok
    @Tanessok 2 роки тому

    Thanks For the trick Sir 😊

  • @ashutoshyadav9916
    @ashutoshyadav9916 4 місяці тому

    wow nice trick and super help full

  • @ayushijha9634
    @ayushijha9634 3 роки тому +2

    Thank u I am trying to learn coding before them I try many thing to learn binary properly but when I see your video I learn binary fully properly thank you Maier gabay

  • @ekoetteh9637
    @ekoetteh9637 Рік тому

    I love your work

  • @senojs2147
    @senojs2147 9 місяців тому

    Thank a lot sir

  • @faisalahmed9434
    @faisalahmed9434 Рік тому

    good work!

  • @kajalsingh-tu9nq
    @kajalsingh-tu9nq 2 роки тому

    Hey i am from India and i love your concept so much 🥰😘

  • @masifkhan.
    @masifkhan. 3 роки тому +1

    best explanation

  • @PriyankaSingh-zz5ln
    @PriyankaSingh-zz5ln 2 роки тому

    So easy question thanks a lot sir

  • @kmriyad4401
    @kmriyad4401 Рік тому

    Thanks from 🇧🇩

  • @kp9433
    @kp9433 2 роки тому

    Very helpful thanks

  • @chenuliayeka7481
    @chenuliayeka7481 Рік тому

    thanks a lot for this method... now i can give the answer in my class even faster... hehe 😁

  • @soursdeyny1687
    @soursdeyny1687 2 місяці тому

    OMG Thank you with this i'm gonna pass my exam. lol
    easy to understand

    • @MeirGabay
      @MeirGabay  2 місяці тому

      You're very welcome 🙏🏻

  • @Douye_Adedeji2696
    @Douye_Adedeji2696 Рік тому

    Thank you Sir.

  • @alyssa-ks3zv
    @alyssa-ks3zv 3 роки тому +2

    Thank youuuuuu huhu

  • @sibasishsahu4275
    @sibasishsahu4275 4 роки тому +1

    Awesome thnx 🤩

  • @selcuksonerakgul2206
    @selcuksonerakgul2206 7 місяців тому

    Try to subtract instead of addition. So, you need to only compare the new number by the digit value. You save time. But still there is a faster method...

  • @introve6351
    @introve6351 4 роки тому +5

    thank you so much im taking computer science and calculators arent allowed so without this trick i would be dead thank you so much

    • @MeirGabay
      @MeirGabay  4 роки тому +1

      You're welcome Omar!

  • @Abhishek-nn8xq
    @Abhishek-nn8xq Рік тому

    Thankyou so much 🙏🏻.. from 🇮🇳

    • @MeirGabay
      @MeirGabay  Рік тому

      You're welcome from 🇮🇱 😉

  • @akhilbunnyy
    @akhilbunnyy 2 роки тому

    THANK YOU

  • @sarahsleman7788
    @sarahsleman7788 Рік тому

    thanks❤

  • @gayithribalamuralivlogs6512

    #Tqs a Lot 🙏

  • @RaichoNikolov
    @RaichoNikolov 2 роки тому

    I was inspired by this video and thought about easier way. Much less work and much simple calculations.
    Is 256 less then 292? Yes. Write 1.
    Substract 292 - 256 = 36
    Which number is less than 36? 32. Write 1 on 32. The others on the left of it are 0-s.
    36-32 = 4. Write 1 on 4 and the rest are 0-s.

    • @MeirGabay
      @MeirGabay  2 роки тому +1

      Hah, that's how I do it in my head :)
      This is exactly how you should solve it, kudos 🤟🏻

  • @moondir
    @moondir Рік тому

    A legend

  • @cgiguy
    @cgiguy Рік тому

    thank you so much for this

  • @shahrhaiyan8063
    @shahrhaiyan8063 3 роки тому +1

    Accent is sooooo gooodd

  • @rolandcucicea6006
    @rolandcucicea6006 3 роки тому +4

    is there a more efficient way? I consider this not optimal because it takes time to draw a table for every number and substracting the powers of two from the given number as many times as we need. Is there a math trick to find them faster?

    • @MeirGabay
      @MeirGabay  3 роки тому +4

      That's a great question Roland. In "reality", I simply write down the numbers on paper, there's no need to draw a table each time. The table makes it easier to understand the logic. A concrete example:
      Convert 141 to binary-
      128. 64. 32. 16. 8. 4. 2. 1
      1. 0. 0. 0. 1. 1. 0. 1
      So it's - 10001101
      How I did it? I wrote the highest multiplication that fits into 141, and it's 128. From here, I know I need to add 13, so I need 8+4+1
      Practice this method a few times and you'll see it's blazingly fast

    • @rolandcucicea6006
      @rolandcucicea6006 3 роки тому +3

      @@MeirGabay Cheers. I found another property: the sum of the powers is 255. For large numbers it's faster to do 255-x and find the sum of powers for x. Those bits will be 0 and the rest 1.
      It's even better when dealing with hex since the highest hex is F (15 decimal) and a lot of times when converting binary to hex you'd have like 0111, or 1110.. can do 15-8=7 and 15-1=14 (E)

    • @MeirGabay
      @MeirGabay  3 роки тому +2

      Awesome! As long as you feel comfortable with a given method, just go with it. I'm glad you found your way

  • @KrithikaTamil
    @KrithikaTamil 3 роки тому

    Thank u

  • @martinduplessis3949
    @martinduplessis3949 Рік тому +1

    Do you have a video to show from Binary back to Decimal?

    • @MeirGabay
      @MeirGabay  Рік тому +1

      Hey Martin, sorry for the delay; I don’t, though you can shoot a binary number and I’ll show you how
      The idea is to draw the same binary table, and sum all the numbers that have 1 in them.
      As an example, 1010011
      Firstly , I know it’s an odd number, because the right most bit is 1, and the only way for a number to be odd is when the right most bit is 1 (we’ll see in a sec)
      Secondly, draw the table beneath the number
      1 0 1 0 0 1 1
      64 32 16 8 4 2 1
      Now sum all the numbers under the 1s
      64+16+2+1 = 83

  • @firecanon5447
    @firecanon5447 3 місяці тому

    can u do for 192

  • @xylophone3764
    @xylophone3764 9 місяців тому

    At 3:14 why do you sum up 32 and 256 and then afterwards you use 288 to add the other numbers and not 256 anymore?

    • @kousikv2247
      @kousikv2247 8 місяців тому

      Your the only person who s asked this question. I noted this too.. and he hasn't answered..

    • @MeirGabay
      @MeirGabay  6 місяців тому

      I'm sorry for not getting back to you sooner. The goal is to add sum and add 1 until it fits.
      In the case of 3:14, where we had 256, we're at the 32 point; we ask if 256+32

  • @adamt4110
    @adamt4110 3 роки тому +1

    what sofware u use to animate these?

    • @MeirGabay
      @MeirGabay  3 роки тому +1

      You'll be surprised - PowerPoint

    • @BASED525
      @BASED525 3 роки тому +1

      @@MeirGabay surprising

  • @youshakhan007
    @youshakhan007 2 роки тому

    Bruh 💗💗💗

  • @mikewazaoski5987
    @mikewazaoski5987 3 роки тому +2

    Where are you from?

  • @rajendrabist3223
    @rajendrabist3223 2 роки тому

    Can you solve 225 into binary plzz

  • @SandeepChauhan-pl5kb
    @SandeepChauhan-pl5kb 2 роки тому

    number of likes you got is 512 which is 2^9

  • @gopigopi-mh7xw
    @gopigopi-mh7xw 3 роки тому +1

    Thats not a 511 that is a 512 you are saying wrong

    • @MeirGabay
      @MeirGabay  3 роки тому

      May you please provide more details? Which minute?

    • @rafaelencaoua7507
      @rafaelencaoua7507 3 роки тому +2

      @@MeirGabay at 1:34 you said 511

  • @thetechgamer3457
    @thetechgamer3457 2 роки тому +1

    this is a nice tutorial!!! @Meir Gabay