Number Systems Introduction - Decimal, Binary, Octal & Hexadecimal — Transcript
Full transcript
- 0:00in this video we're going to talk about
- 0:02number
- 0:03systems the first number system that you
- 0:05need to be familiar with
- 0:07is the decimal system
- 0:10now when you hear the word decimal what
- 0:12do you think of think of the prefix deci
- 0:15what does that mean when i hear the word
- 0:19deci
- 0:20i think of one-tenth of a whole for
- 0:23example
- 0:24there's ten decimeters in one meter i
- 0:27also think of the word decade
- 0:30a decade corresponds to 10 years
- 0:34and so deci is associated with 10 and in
- 0:37fact
- 0:38the decimal number system is
- 0:42a base 10 system and so what this means
- 0:45is that
- 0:46there's 10 different numbers in the
- 0:49decimal system
- 0:510 1 2 3
- 0:544 5 6 7
- 0:588 and 9. so that's a total of 10 numbers
- 1:03now this system is used for everyday
- 1:06counting for example
- 1:0712 or 36 or 468
- 1:12we use the decimal system to represent
- 1:14numbers
- 1:15and it works pretty well now the next
- 1:17system that you need to be familiar with
- 1:19is the binary system so when you hear
- 1:22the prefix buy
- 1:24what do you think of bi means two
- 1:28and so the binary system is a base two
- 1:31system
- 1:32it's very useful for computers or any
- 1:35type of digital circuits
- 1:36there's only two numbers here zero and
- 1:39one
- 1:40in a typical digital computer zero means
- 1:43off
- 1:45one means that the system is in the on
- 1:47state
- 1:49next we have the octosystem
- 1:52and when you hear the word octo or octa
- 1:55what do you think of
- 1:57i think of an octagon an octagon is
- 2:00basically a polygon
- 2:02with eight sides so octa means
- 2:06eight so the octal number system is
- 2:09a base eight system so there's eight
- 2:12numbers that we can use in the system
- 2:14the first being zero and then one two
- 2:17three
- 2:18four five six seven so that's a total of
- 2:22eight numbers including zero
- 2:26next we have the hexadecimal system
- 2:31now what is meant by the prefix hexa
- 2:35hexa think of a hexagon
- 2:38a hexagon has six sides and so hexa
- 2:42means six we know decimal corresponds to
- 2:46ten
- 2:46and so six plus ten will give us sixteen
- 2:49therefore the hexadecimal system
- 2:51is a base 16 system
- 2:55and so the numbers are 0 1 2
- 2:583 4 5 6 7
- 3:028 9 so we have all ten numbers in
- 3:05the decimal system but we also have
- 3:09six letters and so those letters are
- 3:12a b c d
- 3:15e and f now a corresponds to 10
- 3:20in the decimal system b in the
- 3:22hexadecimal system
- 3:23corresponds to 11 in the decimal system
- 3:26c is 12
- 3:27d is 13 e is 14 f
- 3:31is 15. so that's a total of 16 numbers
- 3:34including zero
- 3:36now let's talk about how we can convert
- 3:39a decimal number
- 3:40to a binary number and into an octal and
- 3:43a hexadecimal number
- 3:45using the technique called successive
- 3:47division
- 3:49so let's say we have the number 348
- 3:52if you see a subscript 10 that means
- 3:54it's in the base 10
- 3:55system which means it's a decimal number
- 3:58so the first thing you want to do is
- 3:59take 348
- 4:01and divide it by two
- 4:04so if you type that in you'll get
- 4:07exactly
- 4:08174 so it's 174
- 4:11remainder is zero next take 174
- 4:15and then divide that by two so that's
- 4:18exactly 87
- 4:20so it's 87 remainder zero
- 4:23next if we take 87 and divided by two
- 4:28we're going to get 43.5
- 4:31so it's 43 remainder one
- 4:35but first let's write it like this
- 4:39so this 43 gets transferred here
- 4:42and then to get the remainder one you
- 4:44multiply two by point five
- 4:46and that will give you the remainder one
- 4:51i'm going to write my answer like this
- 4:53for now
- 4:55now if we take 43 and divide that by two
- 5:00that's going to be 21.5 which is 21
- 5:04remainder one and then we need to take
- 5:0621 divide that by two
- 5:07so that's 10.5 which is
- 5:1010 remainder 1 and then 10
- 5:14divided by 2 is exactly 5 so 5 remainder
- 5:170
- 5:18and then 5 divided by 2 is 2.5
- 5:21so 2 remainder one and then
- 5:25two divided by two is exactly one so one
- 5:28remainder is zero
- 5:30and then one divided by
- 5:34i'm running out of space here one
- 5:35divided by two that's
- 5:370.5 so 0 remainder
- 5:401. what we have on top is the least
- 5:43significant bit
- 5:45and this here is the most significant
- 5:48bit
- 5:49now you can find your answer just by
- 5:51looking at all of the remainder values
- 5:55which is here
- 5:58and so that's the binary number that's
- 6:01equivalent
- 6:02to 348 so you need to read it
- 6:05from the bottom to the top so the answer
- 6:08is
- 6:081 0 1 0
- 6:13and then 1 1 1
- 6:170 0.
- 6:20so that's how we can convert a decimal
- 6:22number into
- 6:23a binary number using successive
- 6:26division
- 6:29now let's convert this number into
- 6:33an octal number in the base eight system
- 6:37so if we look at the last example where
- 6:40we converted 348 into a binary number
- 6:43we were dividing it by two because
- 6:45binary it's based on the base two system
- 6:47by means two
- 6:49the octal system is based on the base
- 6:51eight system
- 6:52so instead of dividing it by two and
- 6:54collecting the remainders
- 6:56we're going to divide it by eight this
- 6:58time
- 6:59so 3 48 divided by eight
- 7:05that's going to be 43.5
- 7:10so this is 43 remainder
- 7:13now to find the remainder multiply 8
- 7:16by 0.5 so 8 times 0.5
- 7:20is 4 so it's 43 remainder 4.
- 7:24next take 43 and divide it by 8. and
- 7:30this will give you
- 7:31five point three seven five
- 7:34so it's five remainder and then multiply
- 7:37the eight
- 7:38by point three seven five eight times
- 7:41point three seven five that will give
- 7:43you
- 7:43three next take the five
- 7:46and divided by eight now five is less
- 7:49than eight so we can say that eight
- 7:51goes into five zero times with a
- 7:54remainder of five
- 7:55but if you do five divided by eight
- 7:57you're going to get 0.625
- 8:01and so the 0 gets transferred here
- 8:04and then if you multiply 8 by 0.625 you
- 8:07should get this number
- 8:08the original number that you started
- 8:10with which will go here
- 8:13so this is the most significant digit
- 8:16and above we have the least significant
- 8:18digit so we're going to read it from the
- 8:20bottom to the top
- 8:22so 348 base 10
- 8:26as a decimal number is equivalent to 5
- 8:293 4 or 534 in the octal system
- 8:34and so that's how you can convert a
- 8:35decimal number into an octal number
- 8:38using successive division
- 8:42now let's talk about how to convert the
- 8:44decimal number
- 8:46into a hexadecimal number using
- 8:49successive division
- 8:52so let's use the same number 348.
- 8:55let's convert it to a hexadecimal number
- 8:58now the hexadecimal number is basically
- 9:01a number in the base
- 9:0216 system so this time instead of
- 9:05dividing by
- 9:062 or 8 we're going to divide by 16.
- 9:11so if we take 348 and divided by 16
- 9:15this will give us 21.75
- 9:20and so that's 21 remainder
- 9:23to find the remainder multiply 16 by
- 9:260.75 so 16 times 0.75
- 9:30that's 12. so it's 21 remainder 12.
- 9:36now let's take 21 and then let's divide
- 9:38that by 16.
- 9:40so 21 divided by 16 is 1.3125
- 9:47and so we have one remainder
- 9:50now let's multiply 16 by 0.3125
- 9:55and that's going to give us five so it's
- 9:58a one remainder five
- 10:00next take one divided by sixteen
- 10:03now we know one doesn't go into 16 so 16
- 10:06goes into one zero times
- 10:08with a remainder of whatever you see
- 10:10here in this case a remainder of one
- 10:13and so we're going to read it this way
- 10:15so we have
- 10:16a 1 a 5 and a 12.
- 10:21now 12 because it's larger than 9 we
- 10:23need to convert it to a letter
- 10:25so remember 10 corresponds to a
- 10:2911 corresponds to b and 12 corresponds
- 10:32to c
- 10:33so it's 1 5 c so therefore
- 10:38we could say this 348
- 10:43in the base 10 system is 1 5c
- 10:47in the base 16 system and so that's how
- 10:50we can convert
- 10:51a decimal number into a hexadecimal
- 10:53number
- 10:54using successive division
About this transcript
This page contains the full transcript of Number Systems Introduction - Decimal, Binary, Octal & Hexadecimal by The Organic Chemistry Tutor, generated from the public captions YouTube serves with the video. The transcript has 1,376 words across 239 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.