<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>binary to decimal Archives - NeuralLantern.com</title>
	<atom:link href="https://www.NeuralLantern.com/tag/binary-to-decimal/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.NeuralLantern.com/tag/binary-to-decimal/</link>
	<description></description>
	<lastBuildDate>Sun, 25 May 2025 08:09:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.NeuralLantern.com/wp-content/uploads/2025/04/cropped-2025-04-04-Lantern-03-32x32.png</url>
	<title>binary to decimal Archives - NeuralLantern.com</title>
	<link>https://www.NeuralLantern.com/tag/binary-to-decimal/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Master IEEE 754 Floats: Binary to Decimal Guide</title>
		<link>https://www.NeuralLantern.com/master-ieee-754-floats-binary-to-decimal-guide/</link>
					<comments>https://www.NeuralLantern.com/master-ieee-754-floats-binary-to-decimal-guide/#respond</comments>
		
		<dc:creator><![CDATA[mike]]></dc:creator>
		<pubDate>Mon, 05 May 2025 01:50:17 +0000</pubDate>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Conversions]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[32-bit float]]></category>
		<category><![CDATA[64-bit float]]></category>
		<category><![CDATA[binary fractions]]></category>
		<category><![CDATA[binary to decimal]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[CS tutorial]]></category>
		<category><![CDATA[decimal to binary]]></category>
		<category><![CDATA[exponent bias]]></category>
		<category><![CDATA[floating point numbers]]></category>
		<category><![CDATA[IEEE 754]]></category>
		<category><![CDATA[IEEE 754 explained]]></category>
		<category><![CDATA[number systems]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[scientific notation]]></category>
		<guid isPermaLink="false">https://www.NeuralLantern.com/?p=101</guid>

					<description><![CDATA[<p>Learn IEEE 754 floating-point conversion! Step-by-step guide for 32-bit &#038; 64-bit floats, from decimal to binary. Perfect for CS students!</p>
<p>The post <a href="https://www.NeuralLantern.com/master-ieee-754-floats-binary-to-decimal-guide/">Master IEEE 754 Floats: Binary to Decimal Guide</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Master IEEE 754 Floats: Binary to Decimal Guide" width="1380" height="776" src="https://www.youtube.com/embed/pjDw2kBzSpI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p>Hey there! Ready to crack the code on IEEE 754 floating-point numbers? In this video, I break down how to convert decimals to binary and back for 32-bit and 64-bit floats with clear, easy-to-follow steps. From scientific notation to biasing exponents, I’ve got you covered with examples (like 45.84375!). Perfect for computer science students, programmers, or anyone curious about how computers store fractions. Pause, rewind, and learn at your pace! Subscribe for more, check my other videos, and drop a comment with your thoughts!</p>



<p>Introduction to IEEE 754 00:00:00<br>Prerequisites for Understanding 00:01:03<br>Steps to Convert Decimal to IEEE 754 00:02:31<br>Bias and Exponent Explanation 00:03:17<br>32-bit Float Layout 00:04:09<br>Sign Bit and Fraction Bits 00:05:44<br>Example: Decimal to 32-bit Float 00:07:56<br>Converting 45.84375 to Binary 00:08:34<br>Scientific Notation for Binary 00:09:05<br>Biasing the Exponent 00:10:26<br>Placing Bits in Layout 00:11:17<br>Final 32-bit Float Representation 00:13:32<br>Example: IEEE 754 to Decimal 00:14:28<br>Extracting Sign, Exponent, Fraction 00:15:36<br>Unbiasing Exponent and Reconstructing 00:16:23<br>Converting Binary to Decimal 00:18:53<br>Introduction to 64-bit Floats 00:19:47<br>64-bit Float Layout and Bias 00:20:05<br>Example: 64-bit Float to Decimal 00:21:09<br>Processing 64-bit Float Bits 00:22:05<br>Reconstructing 64-bit Scientific Notation 00:23:26<br>Final Decimal Conversion for 64-bit 00:25:00<br>Conclusion and Recap 00:25:54<br>Call to Subscribe and Outro 00:26:36</p>



<p>Thanks for watching!</p>



<p>Find us on other social media here:</p>



<ul class="wp-block-list">
<li>https://www.NeuralLantern.com/social</li>
</ul>



<p>Please help support us!</p>



<ul class="wp-block-list">
<li>Subscribing + Sharing on Social Media</li>



<li>Leaving a comment or suggestion</li>



<li>Subscribing to our Blog</li>



<li>Watching the main &#8220;pinned&#8221; video of this channel for offers and extras</li>
</ul>



<p>Hey there! Let&#8217;s talk about IEEE 754 floating point numbers stored inside of your machine.</p>



<p>What the heck am I even talking about? Well, uh, there&#8217;s a standard called IEEE 754 which governs</p>



<p>how floating point numbers are stored inside of your computer on x8664 machines. So, you know,</p>



<p>of watching this video you probably already know how to convert binary back and forth you know</p>



<p>between binary and decimal and hopefully you understand how to do binary with fractions</p>



<p>if you don&#8217;t i have other videos i&#8217;ll talk about that in a second and you also understand</p>



<p>that in the machine there is like a slightly different format that&#8217;s my doggy slightly</p>



<p>different format for storing signed integers in the machine okay so floating point numbers have</p>



<p>an even different uh format that we have to follow and the hardware is designed that way</p>



<p>hardware is designed that way so before we can really benefit you&#8217;re all gonna</p>



<p>see how bad I spell okay before we can benefit from this video your prerequisite</p>



<p>knowledge should be that for starters you should be able to convert back and</p>



<p>forth between binary and decimal including numbers with fractions so if</p>



<p>if you don&#8217;t know how to do that yet this video is is not for you just yet you</p>



<p>should go check out my other videos I explain in other videos exactly how to</p>



<p>do that go to the other videos come back and then check this one out after you</p>



<p>know how to convert back and forth between binary and decimal with</p>



<p>fractions the second thing you should know how to do before watching this</p>



<p>video is convert binary numbers with fractions to scientific notation and</p>



<p>and back again. Meaning you should understand scientific notation and you should also understand</p>



<p>how to take a binary number with a fraction and convert it to scientific notation and then</p>



<p>convert it or deconvert it back to like regular form. Again, I have another video for this,</p>



<p>so if you don&#8217;t know how to do that yet, you should probably pause this video and then go</p>



<p>Let&#8217;s see. For converting from a regular number to IEEE floating point number in the machine using just binary alone is the following.</p>



<p>So I&#8217;m going to say basic steps. Step one, convert the decimal number to binary if needed.</p>



<p>And I say if needed because I don&#8217;t know, maybe you started with a binary number so you don&#8217;t actually need to convert it.</p>



<p>it but I&#8217;m just going to assume that you have a decimal number so you&#8217;re going to convert it to</p>



<p>binary first then convert the binary number to scientific notation I don&#8217;t know if convert is</p>



<p>the right word here because we&#8217;re not actually changing the value of the number we&#8217;re just</p>



<p>changing the representation so convert it to a scientific notation form maybe would be better</p>



<p>step three we&#8217;ll add a bias to the exponents of the scientific notation form what do I mean by</p>



<p>notation form. What do I mean by that? You know, if you have like a binary number and it&#8217;s in</p>



<p>scientific notation format, it&#8217;s going to look like this. I liked when I&#8217;m doing IEEE 754,</p>



<p>I like to keep the right side of the number in decimal. I&#8217;m sorry if this confuses you, but</p>



<p>it&#8217;s not really necessary to convert this to binary when we&#8217;re just trying to convert back</p>



<p>and forth between IEEE. So I always say two to the something power rather than one zero to the</p>



<p>something power because I want to stay in decimal. So I&#8217;ll say, you know, two to the seventh power,</p>



<p>right? What this means is that seven is the exponent and I have to bias the exponent before</p>



<p>I put it into the machine. So maybe it&#8217;s worth understanding or maybe copy pasting right now</p>



<p>that the bias for 32-bit floating point numbers, I should probably, I&#8217;ll paste the whole thing here.</p>



<p>Okay. So here&#8217;s like the format for a 32-bit floating point number. We&#8217;re good about this</p>



<p>number. We&#8217;re good about this just for a second. The bias for 32-bit floating</p>



<p>point number in IEEE 754 is 127. So that means I pretty much have to just take</p>



<p>the number 7 and bias it by adding 127 to it. After I&#8217;ve done that I can convert</p>



<p>the biased exponent to unsigned binary whole number. To an unsigned binary whole</p>



<p>number. So step four here is just regular decimal to binary conversion. So I would take, you know,</p>



<p>seven plus 127. The result of that, which I think is like 134, maybe we&#8217;ll just be converted into</p>



<p>binary and unsigned binary integer, not two&#8217;s compliment or anything like that. Then step five</p>



<p>is respect the layout. So I just, I just copy pasted the layout up above and the layout is this.</p>



<p>you can see that here let me see if I just maybe paste this down at the bottom</p>



<p>you can see that we actually have 32 bits here if I count them for you real</p>



<p>fast we&#8217;ve got one for the sign and then we&#8217;ve got I can never remember this I</p>



<p>think it&#8217;s eight for the exponent one two three four five six seven eight got</p>



<p>eight bits for the exponent that means I&#8217;ve already used nine of 32 bits so</p>



<p>that means I should have like 23 bits here so one two three four five six seven</p>



<p>11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, just to double check.</p>



<p>So we know what the sine bit is.</p>



<p>Actually, we don&#8217;t yet know in this video.</p>



<p>So in this video, the sine bit, it&#8217;s always going to be a zero if the number is positive</p>



<p>and a one if the number is negative.</p>



<p>So that&#8217;s the sine bit.</p>



<p>The biased exponent bits go there.</p>



<p>And then these Fs, those are just the fractional bits.</p>



<p>just the, you know, like the mantissa or the mantissa part of the fraction. So imagine if we</p>



<p>have a number like this, all I&#8217;m saying is we would copy paste those numbers right here.</p>



<p>Notice how I&#8217;m ignoring that first one dot something, because when you put binary in</p>



<p>scientific notation, the first number is always going to be a one. So it can be assumed. There&#8217;s</p>



<p>no point in storing it inside the machine. And then if you don&#8217;t have enough digits to</p>



<p>you will literally just pad with zeros on the right side because padding with zeros on the right side of a fraction</p>



<p>doesn&#8217;t actually change the value. One, two, three, four.</p>



<p>If I put the zeros on the left side of the fraction, it would make the fractional part smaller and smaller.</p>



<p>So that would be bad. I don&#8217;t want to change the value.</p>



<p>And this is the opposite of how you pad a whole number.</p>



<p>If I put numbers on the left side of a whole number part, I&#8217;m not changing the value.</p>



<p>But if I put numbers on the right side of a whole number part,</p>



<p>which in this case would be the biased exponent, then I would be changing the value.</p>



<p>So we wouldn&#8217;t want to do that.</p>



<p>changing the value so we wouldn&#8217;t want to do that. Anyway I&#8217;m going to remove this and just stick</p>



<p>with step five so let&#8217;s see 5a is place the sine bits step 5b is and I&#8217;m going to do an example</p>



<p>for you don&#8217;t worry place the exponent bits and then 5c is place the fraction bits everything</p>



<p>the first one dot from scientific notation form.</p>



<p>Again, because the first one is implied, it will never be a zero if you&#8217;ve done it correctly.</p>



<p>If you end up with a binary number that looks like this in scientific notation, then you&#8217;ve</p>



<p>done something wrong because the first number is supposed to be a one.</p>



<p>Okay, so we have those basic steps.</p>



<p>And now let&#8217;s do an example.</p>



<p>1, 2, 3 example. Let&#8217;s convert decimal to IEEE 754 32-bit float format.</p>



<p>AKA single precision floating point number. Double precision floating point number is 64-bit.</p>



<p>We&#8217;ll do an example for that at the very end of this, but I&#8217;m just going to stick with 32 and do</p>



<p>number 45.84375, just double checking, and then we&#8217;ll convert to binary. Again, this knowledge</p>



<p>is contained in a different video. So if you don&#8217;t know how to do this yet, you&#8217;ll need to go see my</p>



<p>other video. And so you can see it&#8217;s, you know, 45.84375 in binary is just going to be this.</p>



<p>I&#8217;ve padded it with two zeros to the left just because, I don&#8217;t know, I have a habit of wanting</p>



<p>wanting everything to look like it&#8217;s inside of 8-bit chunks.</p>



<p>You can see there&#8217;s 8 bits here.</p>



<p>But really, I can just remove those first two numbers.</p>



<p>It doesn&#8217;t matter.</p>



<p>Convert the number to binary.</p>



<p>Then, I have to convert the binary number to scientific notation.</p>



<p>I&#8217;m going to put maybe pseudo-scientific notation</p>



<p>because I&#8217;m not going to convert the right part</p>



<p>where it&#8217;s the exponent into binary.</p>



<p>I&#8217;m going to keep it in decimal.</p>



<p>Just to clarify again,</p>



<p>convert a binary number to scientific notation and you were actually going to publish it somewhere</p>



<p>or give it to someone, then you should convert the right side. It&#8217;s just that I&#8217;m not going to</p>



<p>because I don&#8217;t really need to convert the right side. I&#8217;m not interested in having the whole</p>



<p>number in scientific notation in binary. I&#8217;m just interested in what the fractional bits are and</p>



<p>then what the exponent is going to do. Like how many positions to the left or right is it actually</p>



<p>going to move the decimal point? And that&#8217;s just going to be the number five, five times to the</p>



<p>five you know five times to the left or to the right so I&#8217;m gonna go pseudo</p>



<p>scientific notation you pretty much you know as I covered in the different video</p>



<p>all we&#8217;re gonna be doing is just moving the decimal point over one two three</p>



<p>four five until there&#8217;s a one in the leading spot and then account for it by</p>



<p>saying times two to the fifth power to say the number is a lot bigger than it</p>



<p>looks so that&#8217;s that and let&#8217;s see if there are any trailing zeros that&#8217;s</p>



<p>Let&#8217;s see if there are any trailing zeros, that&#8217;s okay on the right side of the fraction.</p>



<p>They don&#8217;t actually matter.</p>



<p>You can also just delete them if you want.</p>



<p>Then we need to bias the exponents.</p>



<p>So how do we bias the exponent?</p>



<p>The exponent is just the number five.</p>



<p>That&#8217;s see, I was telling you like I don&#8217;t really care to convert it to binary because</p>



<p>I&#8217;m just going to bias it first and then after that I&#8217;ll buy it or I&#8217;ll convert it to binary.</p>



<p>So biasing it is just basically adding the bias.</p>



<p>just to make sure that it&#8217;s on this page and it&#8217;s easy to see.</p>



<p>So I&#8217;ll do that.</p>



<p>So in the 32-bit float layout, the bias is 127.</p>



<p>So I&#8217;m going to add 127 to 5.</p>



<p>The final number is going to be 132.</p>



<p>So that&#8217;s the biased exponent now.</p>



<p>Then I convert the biased exponent to binary.</p>



<p>And that&#8217;s going to be this.</p>



<p>10000100.</p>



<p>Then set up the layout so you don&#8217;t get confused.</p>



<p>This step is crucial.</p>



<p>Everyone always gets confused by the layout because like we&#8217;re human beings.</p>



<p>I can&#8217;t count 32 zeros that are all like in the same area and like, you know, and not</p>



<p>get confused every single time.</p>



<p>I mean, I guess I won&#8217;t get confused half the time, but that&#8217;s not good enough.</p>



<p>So step one is place the layout for yourself so it&#8217;s easier for you to place the bits.</p>



<p>place the bits and I wrote this at the top 8 bits and 23 bits just as a reminder double check</p>



<p>yourself 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 that&#8217;s 23 bits 1 2 3 4 1 2 3 4 that&#8217;s</p>



<p>8 bits we don&#8217;t need to remember that the sign bit is one bit for now it&#8217;s not too hard so now</p>



<p>let&#8217;s place it so the first thing to note is that this number was actually positive positive is</p>



<p>the negative sign there, but if it makes you feel better, we&#8217;ll just put a positive sign there just to clarify and be specific.</p>



<p>So because the number is positive, the sign bit is going to be zero. If it were negative, it would be one.</p>



<p>Then we will put the biased exponent bits. So we already converted up there. So I&#8217;m just going to copy paste it here.</p>



<p>We&#8217;re pretty lucky that the bits are just as big as the number of biased exponent bits that are available.</p>



<p>But suppose for the sake of argument that we had,</p>



<p>the sake of argument that we had just like you know this small number here for the biased exponent</p>



<p>what would you do with the remaining spaces you would just pad with zeros to the left</p>



<p>because remember in whole numbers in binary and decimal you pad to the left you&#8217;re not actually</p>



<p>changing the value you definitely would not want to pad to the right but you got to put</p>



<p>a bit in every position it&#8217;s got to be something so i&#8217;m just going to pad with zeros</p>



<p>then we take the fractional part from the scientifically notated form so that&#8217;s just</p>



<p>form so that&#8217;s just this right here notice how I&#8217;m copy pasting every bit</p>



<p>except for the one that starts the number I&#8217;m not going to do the one dot</p>



<p>part because that&#8217;s always assumed so we don&#8217;t need to store it it wouldn&#8217;t make</p>



<p>sense I&#8217;ll copy paste the fractional part and I&#8217;ll just stick it down there</p>



<p>and now we have a bunch of leftover bits that we need to fill out with the</p>



<p>fractional part you pad to the right not to the left so I&#8217;m just going to put</p>



<p>zeros to the right because that won&#8217;t change the value of the fractional part</p>



<p>Now we&#8217;ve got it. I&#8217;m just going to double check my work here.</p>



<p>Oh gosh, it&#8217;s too hard to read and then a bunch of zeros. Okay.</p>



<p>Then remove these spaces because now that you&#8217;ve done your layout,</p>



<p>you actually want to bear in mind that the machine doesn&#8217;t have spaces.</p>



<p>The machine is just, you know, a bunch of ones and zeros everywhere.</p>



<p>So I&#8217;m just going to carefully remove the two spaces.</p>



<p>And this is it.</p>



<p>for floating point representation of the number of the decimal number positive 45.84375</p>



<p>seems like a lot but it&#8217;s not too bad once you kind of get used to the format</p>



<p>and the bias and you already know the other steps of you know converting decimal to binary and back</p>



<p>again so let&#8217;s do another number let&#8217;s do it backwards so i&#8217;m going to open up a new tab here</p>



<p>example, IEEE 754 32-bit float 2 decimal.</p>



<p>Okay, so suppose we started with the following number.</p>



<p>Start with this number.</p>



<p>Oh my gosh, right?</p>



<p>Remember the layout.</p>



<p>So in the layout we have, use the layout.</p>



<p>Maybe I should copy paste the layout again one more time just to make sure that it&#8217;s</p>



<p>easy to see.</p>



<p>it&#8217;s easy to see. So I&#8217;m going to paste it up at the top and well, no, maybe I want this because</p>



<p>this is like a little bit better. I want that version. Okay. So 32 bits, a bias of 127. So</p>



<p>we&#8217;re going to use the layout. I&#8217;m just going to copy paste the original number and then add</p>



<p>spaces because I know, well, I guess I can copy paste the layout itself right above that number.</p>



<p>I know I need a space right there that&#8217;s the sine bit and then I need a space</p>



<p>after that and notice how the numbers all line up so there&#8217;s nothing missing</p>



<p>just to double-check yourself okay so I have the layout I know right away that</p>



<p>the number is going to be positive because the sine bit is zero sign is</p>



<p>positive okay so then I need to pull the biased exponent will be biased</p>



<p>the exponent bits only so I&#8217;m just going to copy paste those bits and then I&#8217;ll</p>



<p>pull out the fractional part first pull out the fractional part I&#8217;m going to</p>



<p>copy paste all those bits and maybe I&#8217;ll just say zero point those bits because</p>



<p>that&#8217;s what I originally grabbed and I can delete all the zeros on the right</p>



<p>side because again that won&#8217;t change the value of the fractional part so I&#8217;m</p>



<p>going to delete make sure you&#8217;re only deleting zeros though delete that now I</p>



<p>I need to unbias the biased exponents.</p>



<p>First, actually, I should, well, let&#8217;s convert the biased exponent to decimal.</p>



<p>A little easier.</p>



<p>I guess you don&#8217;t have to do that, but it&#8217;s a little easier for me.</p>



<p>Pull the biased exponent.</p>



<p>So this number is going to be 132, which I think is what we had last night.</p>



<p>Let me just double check that.</p>



<p>132.</p>



<p>Yeah.</p>



<p>132, yeah so the biased exponent that we pulled out is 132 then we unbiased the</p>



<p>biased exponent so just subtract the bias again in 32-bit format here the bias</p>



<p>is 127 so I&#8217;m going to subtract 127 instead of adding 127 so now I know the</p>



<p>real bias or sorry I know the real exponent is 5 then I can recreate the</p>



<p>I&#8217;ll put sudo here just because it&#8217;s not, you know, I&#8217;m not, I&#8217;m not converting binary for,</p>



<p>for the entire thing. So that means I can take the fractional part here and I can say it&#8217;s going to be</p>



<p>one dot the fractional part. Maybe I should remove that zero here to make it less.</p>



<p>I don&#8217;t know. Cause if I put a one there, it kind of feels like I&#8217;m saying the number is</p>



<p>that it&#8217;s one dot something.</p>



<p>I don&#8217;t like that I&#8217;m putting a zero there.</p>



<p>I&#8217;m just gonna erase it</p>



<p>because it&#8217;s really gonna end up being a one.</p>



<p>And if I say pull the fractional part</p>



<p>and I put a one there,</p>



<p>then it doesn&#8217;t it kind of sound like</p>



<p>I&#8217;m pulling the one from somewhere?</p>



<p>No, the one is implied.</p>



<p>Anyway, so now I can recreate the number</p>



<p>in pseudo scientific notation.</p>



<p>I can say times two to the something power.</p>



<p>We know that the exponent is five.</p>



<p>Again, it&#8217;s pseudo scientific notation</p>



<p>because if five we&#8217;re gonna do the complete,</p>



<p>complete, you know, true scientific notation. The right side should also be in binary, but I&#8217;m not</p>



<p>going to do it. I&#8217;m a little bit lazy because we don&#8217;t need that IEEE. So it&#8217;s going to be two to</p>



<p>the fifth power. Then if I undo the scientific notation, I&#8217;m really just going to take this</p>



<p>scientifically notated version and I&#8217;m going to say, well, I&#8217;m going to move the decimal point to</p>



<p>the right five times because that&#8217;s what the part on the right says. So I&#8217;m going to go one, two,</p>



<p>1, 2, 3, 4, 5, stick it there, remove the original decimal point, and then I can remove</p>



<p>the exponent part. So then let me just double check my work. 1, 0, 1, 1, 0, 1, 1, 1, 0, 1. Okay.</p>



<p>So we&#8217;ve got that now. Then all we have to do is convert this number from binary to decimal.</p>



<p>The final number here is just, you know, it&#8217;s going to be the same number that we worked with</p>



<p>number that we worked with previously so I&#8217;m just going to copy paste it there is</p>



<p>you know of course this video is not about converting back and forth from</p>



<p>binary to decimal with fractions check out my other video if you want to learn</p>



<p>how to do that but once we do that you know this number becomes that number</p>



<p>and and now we know how to convert back and forth between a decimal number and</p>



<p>for 32-bit floats in the machine.</p>



<p>No problem.</p>



<p>A lot of steps, but no problem once you understand them.</p>



<p>Okay, now let&#8217;s do an example</p>



<p>with 64-bit floating point numbers.</p>



<p>Honestly, this is not gonna be more difficult.</p>



<p>In 64-bit floats, the idea and the format and the steps,</p>



<p>it&#8217;s all gonna be the exact same thing.</p>



<p>It&#8217;s just that we have more bits</p>



<p>for the biased exponent and the fraction,</p>



<p>and then the bias itself will be a little bit higher.</p>



<p>So let me copy paste the format for you to see.</p>



<p>at for you to see. So in IEEE 64-bit floats, IEEE 64-bit float, well IEEE 754, 64-bit float,</p>



<p>you know we refer to these floats as doubles right double precision floating point numbers.</p>



<p>Notice how instead of 8 bits for the biased exponent we have 11 so we can represent a much</p>



<p>notice how for the uh the fraction part instead of having 23 bits we have 52 bits so we can also</p>



<p>represent much more precisely that&#8217;s really the only difference let&#8217;s uh oh sorry the other</p>



<p>difference is also that the bias is now equal to 1023 instead of 127 so what is that like</p>



<p>10 times larger of a number that we can represent or something like that so mostly we get more</p>



<p>If you don&#8217;t like it, sorry, it&#8217;s the way it is.</p>



<p>It&#8217;s in the hardware.</p>



<p>So let&#8217;s do an example for a 64-bit float for a double.</p>



<p>64-bit example.</p>



<p>Let&#8217;s say we started with the following number.</p>



<p>Inside of the machine.</p>



<p>Like we looked inside of the machine and we grabbed these bits.</p>



<p>And I&#8217;ll get rid of the spaces.</p>



<p>So we have like a giant, big, huge number.</p>



<p>We have like a giant big huge number.</p>



<p>We&#8217;re trying to figure out, you know, what is this number in decimal.</p>



<p>So I&#8217;m going to add spaces to respect the layout.</p>



<p>I&#8217;m going to just copy paste the layout right here.</p>



<p>I&#8217;m going to say respect the layout.</p>



<p>I&#8217;m going to paste it and then that helps me line everything up.</p>



<p>So I&#8217;m going to say the sine bit is the first bit and then I&#8217;ll put a space there so I know.</p>



<p>All right, the sine bit is a one.</p>



<p>That means it&#8217;s going to be a negative number.</p>



<p>The biased exponent bits are there.</p>



<p>The fractional bits are there.</p>



<p>bits are there so well first thing I can just do is say that the sine is going to be negative</p>



<p>because the sine bit is a one</p>



<p>and then I&#8217;ll pull the biased exponent bits which is going to be this number right here</p>



<p>should pull the fraction bits next. Fraction bits are just here I&#8217;m gonna</p>



<p>copy paste those here and then I can remove the zeros. Be very careful you&#8217;re</p>



<p>not removing any ones. So there was a lot of wasted bits there. That&#8217;s okay. I&#8217;ll</p>



<p>convert the biased exponent to decimal. So that&#8217;s going to be…</p>



<p>I think and I did not do that in my head.</p>



<p>I have an answer sheet.</p>



<p>Don&#8217;t worry.</p>



<p>I&#8217;m not that cool.</p>



<p>Then we&#8217;ll unbiased or de-bias unbiased the biased exponents by just subtracting the bias.</p>



<p>Remember in this 64 bit format, the bias is 1023.</p>



<p>So that means I got to take 1031 minus 1023 and that will be equal to 8.</p>



<p>Okay.</p>



<p>Okay, now we kind of have everything we need to sort of reconstruct the scientific notation part, right?</p>



<p>We have the fraction bits, that&#8217;s the most important part.</p>



<p>Oh, and then also the sine bits.</p>



<p>So I can say negative something.</p>



<p>It&#8217;s obviously going to be one dot something because even though the number is negative,</p>



<p>it will still always start with a one.</p>



<p>That rule doesn&#8217;t change.</p>



<p>Negative one dot something and I&#8217;ll just paste the, whoops, paste the fraction bits.</p>



<p>I think I did paste the right thing.</p>



<p>right thing so we paste the fraction bits and then we have to use the regular exponent the</p>



<p>unbiased exponent the non-biased exponent two times times two to the oops times two to the eighth power</p>



<p>now this is our number in scientific notation um</p>



<p>convert to scientific notation i&#8217;ll put p for pseudo scientific notation</p>



<p>and then now we have to convert to just regular format okay so I&#8217;m going to</p>



<p>copy paste this right here and if it&#8217;s 2 to the eighth power that means the real</p>



<p>number is going to be bigger than it looks in scientific notation even though</p>



<p>if you are very familiar with scientific notation you kind of already know that</p>



<p>it looks big but you know if we just if we&#8217;re only talking about the bits on the</p>



<p>1, 2, 3, 4, 5, 6, 7, 8.</p>



<p>Put the decimal point there.</p>



<p>Remove the original decimal point.</p>



<p>Now we no longer need 2 to the 8th power.</p>



<p>And again, just as a reminder, if it was 2 to the negative 8th power,</p>



<p>you would be moving the decimal point in the other direction.</p>



<p>So now we&#8217;ve got this number 111, 010101, 0101, 0101, 0101.</p>



<p>Then a 0.01.</p>



<p>Okay, so then convert to decimal.</p>



<p>doesn&#8217;t talk about how to convert back and forth from binary to decimal find my other videos but</p>



<p>basically uh it&#8217;s going to end up being six uh negative four six nine point two five</p>



<p>okay we now have done a quick practice starting with a giant number of bits and slowly converting</p>



<p>them to the real uh floating point number in decimal that uh that they represent i&#8217;m not going</p>



<p>going to do another number in the reverse direction because we already did that for 32 bits</p>



<p>and again with 64 bits the only real difference is just you have more exponent and fraction bits</p>



<p>and the bias is a higher number and that&#8217;s it so like all the other steps are just the same</p>



<p>I just wanted to show you one time with a 64-bit number in one direction but</p>



<p>I think at this point we&#8217;re good thank you so much for watching this video I hope you learned</p>



<p>had a little bit of fun. I&#8217;ll see you in the next video.</p>



<p>and grow this community so we&#8217;ll be able to do more videos, longer videos, better videos,</p>



<p>or just I&#8217;ll be able to keep making videos in general. So please do me a kindness and subscribe.</p>



<p>You know, sometimes I&#8217;m sleeping in the middle of the night and I just wake up because I know</p>



<p>somebody subscribed or followed. It just wakes me up and I get filled with joy. That&#8217;s exactly what</p>



<p>happens every single time. So you could do it as a nice favor to me or you could troll me if you</p>



<p>want to just wake me up in the middle of the night, just subscribe and then I&#8217;ll just wake up.</p>



<p>just wake up I promise that&#8217;s what will happen also if you look at the middle of</p>



<p>the screen right now you should see a QR code which you can scan in order to go</p>



<p>to the website which I think is also named somewhere at the bottom of this</p>



<p>video and it&#8217;ll take you to my main website where you can just kind of like</p>



<p>see all the videos I published and the services and tutorials and things that I</p>



<p>offer and all that good stuff and if you have a suggestion for clarifications or</p>



<p>or errata or just future videos that you want to see please leave a comment or if you just want to</p>



<p>say hey what&#8217;s up what&#8217;s going on you know just send me a comment whatever I also wake up for</p>



<p>those in the middle of the night I get I wake up in a cold sweat and I&#8217;m like it would really it</p>



<p>really mean the world to me I would really appreciate it so again thank you so much for</p>



<p>watching this video and um enjoy the cool music as as I fade into the darkness which is coming for us</p>



<p>Thank you.</p>
<p>The post <a href="https://www.NeuralLantern.com/master-ieee-754-floats-binary-to-decimal-guide/">Master IEEE 754 Floats: Binary to Decimal Guide</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.NeuralLantern.com/master-ieee-754-floats-binary-to-decimal-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Convert Decimal Fractions to Binary (and Back!) &#8211; Easy Step-by-Step Guide</title>
		<link>https://www.NeuralLantern.com/how-to-convert-decimal-fractions-to-binary-and-back-easy-step-by-step-guide/</link>
					<comments>https://www.NeuralLantern.com/how-to-convert-decimal-fractions-to-binary-and-back-easy-step-by-step-guide/#respond</comments>
		
		<dc:creator><![CDATA[mike]]></dc:creator>
		<pubDate>Fri, 02 May 2025 09:26:40 +0000</pubDate>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Conversions]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[binary conversion]]></category>
		<category><![CDATA[binary fractions]]></category>
		<category><![CDATA[binary numbers]]></category>
		<category><![CDATA[binary to decimal]]></category>
		<category><![CDATA[coding basics]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[computer science for beginners]]></category>
		<category><![CDATA[decimal fractions]]></category>
		<category><![CDATA[decimal to binary]]></category>
		<category><![CDATA[floating point numbers]]></category>
		<category><![CDATA[IEEE 754]]></category>
		<category><![CDATA[learn binary]]></category>
		<category><![CDATA[precision loss]]></category>
		<category><![CDATA[tech tutorials]]></category>
		<guid isPermaLink="false">https://www.NeuralLantern.com/?p=97</guid>

					<description><![CDATA[<p>Master decimal-to-binary fraction conversion! Learn step-by-step with examples like 0.84375. Perfect for students &#038; coders. #Binary #ComputerScience</p>
<p>The post <a href="https://www.NeuralLantern.com/how-to-convert-decimal-fractions-to-binary-and-back-easy-step-by-step-guide/">How to Convert Decimal Fractions to Binary (and Back!) &#8211; Easy Step-by-Step Guide</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="How to Convert Decimal Fractions to Binary (and Back!) - Easy Step-by-Step Guide" width="1380" height="776" src="https://www.youtube.com/embed/qTukm9OUykk?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p>Struggling with converting decimal fractions to binary? In this fun, beginner-friendly tutorial, we dive into how to convert numbers like 45.8046875 to binary and back to decimal, step by step! Learn the multiplying-by-2 method, handle precision loss, and understand fractional binary representation. With real examples (0.126753, 0.84375), you’ll master this key computer science skill. Perfect for students, coders, or anyone curious about how computers store numbers. Subscribe for more tech tutorials, and let me know what you want to learn next! Visit [YourWebsiteLink] for more. #Binary #DecimalToBinary #ComputerScience #TechTutorials</p>



<p>Introduction to Decimal-Binary Conversion 00:00:00<br>Understanding Fractional Binary Numbers 00:00:15<br>Fractional Binary Representation Basics 00:01:00<br>Converting Decimal Fractions to Binary 00:04:06<br>Example: Converting 0.126753 to Binary 00:04:52<br>Precision Loss in Conversions 00:05:36<br>Example: Converting 0.84375 to Binary 00:09:57<br>Converting Binary Fractions to Decimal 00:14:22<br>Example: Converting Complex Number 45.8046875 00:16:48<br>Combining Whole and Fractional Parts 00:21:00<br>Conclusion and Verification 00:23:25<br>Outro and Community Engagement 00:24:16</p>



<p>Thanks for watching!</p>



<p>Find us on other social media here:</p>



<ul class="wp-block-list">
<li>https://www.NeuralLantern.com/social</li>
</ul>



<p>Please help support us!</p>



<ul class="wp-block-list">
<li>Subscribing + Sharing on Social Media</li>



<li>Leaving a comment or suggestion</li>



<li>Subscribing to our Blog</li>



<li>Watching the main &#8220;pinned&#8221; video of this channel for offers and extras</li>
</ul>



<p>Hello there, let&#8217;s talk about how to convert decimal numbers with fractions into binary</p>



<p>numbers with fractions and vice versa.</p>



<p>So up to this point, if you&#8217;ve been watching my other videos, you probably know that you</p>



<p>can easily convert a decimal number to binary and binary to decimal if the decimal and binary</p>



<p>numbers but in order to progress towards IEEE 754 representation in other words</p>



<p>in order to eventually be able to represent binary numbers with fractions</p>



<p>like floats or doubles in the machine you have to start learning how to get</p>



<p>the fraction part of a decimal number into binary the way we&#8217;re going to do</p>



<p>it in this video it&#8217;s not actually going to be the final representation of how</p>



<p>your machine stores floating point numbers but it&#8217;s an important step on</p>



<p>on the way there. Without this step, you probably wouldn&#8217;t be able to do it.</p>



<p>So what am I talking about? I&#8217;m just going to open up this notepad real fast and just show you</p>



<p>that what I really mean is, suppose we have like a number 45 point blah, blah, blah, blah, blah,</p>



<p>right? So this is the whole part and this is the fractional part. Okay, no problem. Also in binary,</p>



<p>we have like a bunch of ones and zeros. This is a whole number, but we could put a decimal point</p>



<p>and then just start doing more numbers after the decimal point in order to represent a</p>



<p>in order to represent a fractional binary number.</p>



<p>Okay, so let&#8217;s see.</p>



<p>We know, hopefully at this point, if you watch my other videos,</p>



<p>that, I don&#8217;t know, I&#8217;m just going to put some random numbers here</p>



<p>and then like some more random numbers there.</p>



<p>And you know that the strength of each of these numbers</p>



<p>is sort of like increasing by powers of two on the left side, on the whole side.</p>



<p>So the strength of that first digit is one.</p>



<p>digit is one the next digit has a strength of two and then four and then eight and then 16 maybe i&#8217;ll</p>



<p>put the six up here and then 32 so three and two and then 64 and maybe i&#8217;ll do another digit i&#8217;ll</p>



<p>just put like a zero there and then you know the left most digit has a strength of 128 so basically</p>



<p>a 1 or a 0 for the actual binary number multiplied by its strength. So 1 times 1 is 1, add that to</p>



<p>0 times 2, add that to 1 times 4, and 0 times 8, and 1 times 16, and so forth, right? So hopefully</p>



<p>we know how to do that at this point. To do the same thing on the fractional side, maybe I won&#8217;t</p>



<p>put a decimal marker there, it&#8217;s really the same deal except as we go left, we were multiplying by</p>



<p>have more power more strength but as we go to the right past the decimal point they should have less</p>



<p>strength and we&#8217;ll just divide them by two so pretty much at this point let&#8217;s see we&#8217;ll have</p>



<p>one half will be the strength of this digit right here whoops one half so the strength that that</p>



<p>digit has is just one half the strength that the next digit has is going to be one fourth remember</p>



<p>1 4th remember you multiply sorry you divide by 2 each time whoops I&#8217;m getting lost oh man I</p>



<p>probably need to add some spaces because it&#8217;s starting to get pretty ugly so this digit has</p>



<p>a strength of 1 half this digit has a strength of 1 4th and then we&#8217;ll just say that the next one</p>



<p>has a strength of 1 8th and so forth we&#8217;ll just keep dividing by 2 each time so don&#8217;t forget that</p>



<p>don&#8217;t make the mistake of saying 1 4th or sorry don&#8217;t make the mistake of saying 1 half 1 3rd</p>



<p>one half, one third, one fourth.</p>



<p>Don&#8217;t increase the denominator by one.</p>



<p>You want to multiply, or sorry,</p>



<p>you want to divide by two each time.</p>



<p>Or if you want to say the word multiplication,</p>



<p>then you multiply by 0.5, I guess, if you want to.</p>



<p>I&#8217;m just going to write 1 16th</p>



<p>and then just be done with the divisions.</p>



<p>I hope you understand what I&#8217;m talking about.</p>



<p>We&#8217;re going to do some examples right now.</p>



<p>Okay, so let&#8217;s calculate.</p>



<p>Well, actually, let&#8217;s just, just to emphasize, just to make sure everybody understands, what</p>



<p>we would do to convert such a number from binary to decimal would basically be, you</p>



<p>know, compute the left side as if it were a whole number.</p>



<p>I&#8217;m going to put W for whole number.</p>



<p>And then separately convert the fractional part as if it were just, you know, zero point</p>



<p>something.</p>



<p>And then just combine the two things when you&#8217;re in decimal.</p>



<p>And you&#8217;ll do the same thing when converting a number from decimal to binary.</p>



<p>decimal to binary you convert the whole part first put that into ones and zeros then convert the fact</p>



<p>the fractional part into a fractional binary part and then just combine them across the decimal point</p>



<p>so let&#8217;s do an example let&#8217;s start with converting 0.126753 i don&#8217;t think that this number is going</p>



<p>to resolve easily it&#8217;s kind of like a good lesson here when you&#8217;re converting between binary and</p>



<p>there are always going to be some numbers in in in decimal that you can&#8217;t represent in binary</p>



<p>and vice versa there are always going to be some numbers in binary that you can&#8217;t represent in</p>



<p>decimal so it&#8217;s not that decimal or binary or you know superior or inferior i mean all technology</p>



<p>is pretty much running on binary so it can&#8217;t be that bad but um just keep that in mind some numbers</p>



<p>that you type randomly are just never going to resolve and you&#8217;ll have to give up at some point</p>



<p>have to give up at some point and say, well, we&#8217;re just going to call this a precision loss</p>



<p>because we just, we just have to like give up, especially if you only have so many bits</p>



<p>to put the fraction in. Okay. So what am I going to do? What&#8217;s the, what&#8217;s the basic algorithm</p>



<p>here? There are lots of different ways to do it. The way that I&#8217;m going to show you is just</p>



<p>multiplying by two. So if we take, you know, 0.126753 and we multiply it by two,</p>



<p>We end up with, let&#8217;s see, times 2.</p>



<p>Whoops, hello.</p>



<p>Oh, I got to do that.</p>



<p>Times 2.</p>



<p>We&#8217;re going to end up with a different number.</p>



<p>If the number is equal to or greater than 1,</p>



<p>then we will say that we have achieved a number of 1 for the converted binary number.</p>



<p>And if not, we&#8217;ll say we have achieved a number of 0.</p>



<p>If the number is 1, we&#8217;ll also subtract 1 from the remaining number here in decimal.</p>



<p>The result we have is just, what&#8217;s going on?</p>



<p>Oh, I somehow turned on my annotator.</p>



<p>Okay.</p>



<p>In this case, we just have, you know, this number right here.</p>



<p>It&#8217;s not greater than one or equal to one.</p>



<p>So I&#8217;m just going to say this gave us a binary number of zero.</p>



<p>And because it gave us a zero, we&#8217;re not actually going to change it at all.</p>



<p>We&#8217;re not going to subtract one from it.</p>



<p>We&#8217;re just going to leave it as is.</p>



<p>We will then multiply by two again.</p>



<p>by 2 again. So I&#8217;m just going to say, do it one more time. We&#8217;ll say this multiplied by 2,</p>



<p>and it&#8217;s going to be this number. Again, it did not exceed or equal 1, so the bit in that position</p>



<p>is going to be a 0, and we&#8217;ll just copy and carry it over just as is. Do it again, and we&#8217;ll say</p>



<p>Now we have a number that equals or exceeds one.</p>



<p>So we&#8217;ve achieved a one in the binary position.</p>



<p>So it&#8217;s going to be a one here.</p>



<p>Then we got to subtract one.</p>



<p>So we&#8217;re just going to be left with 0.014, 024 and whatever.</p>



<p>And then we just continue.</p>



<p>Maybe I&#8217;ll do it a couple more times,</p>



<p>but I&#8217;m going to give up because I don&#8217;t think</p>



<p>that this number will translate completely.</p>



<p>So I&#8217;m going to say multiply by two again,</p>



<p>and it&#8217;s going to give us,</p>



<p>hang on a second here.</p>



<p>What was that?</p>



<p>Hang on a second here. What was that? That was one. Oh, I forgot to subtract one. So I got to</p>



<p>subtract one. And then I&#8217;m going to multiply by two. Now we get this number right there.</p>



<p>This is not equal to or greater than one. So the bit is going to be zero.</p>



<p>And then that means the remaining number is just going to be the same thing.</p>



<p>We&#8217;ll do another. Actually, let me let me clean the calculator for a second here.</p>



<p>going to select this whole thing and just paste that and I&#8217;m going to say</p>



<p>multiplied by two that&#8217;s going to be that new number and I think you&#8217;re</p>



<p>starting to understand why I want to give up because we&#8217;ll just be kind of</p>



<p>doing this forever this might end up being an irrational number in binary I</p>



<p>don&#8217;t really know I haven&#8217;t gone that far but it&#8217;s definitely gonna take a long</p>



<p>time so I&#8217;m gonna give up and I&#8217;m just gonna say all right the final binary</p>



<p>number is gonna be 0.00100 and then just say maybe there&#8217;s some more stuff at</p>



<p>maybe there&#8217;s some more stuff at the end we&#8217;ll just call this a precision loss</p>



<p>you can see well maybe I should do one more number actually because it it&#8217;s kind of a mirror there&#8217;s</p>



<p>like two zeros and then a one and then two zeros on the other side let me multiply this by two</p>



<p>real fast just to show you without symmetry what would happen so I&#8217;m gonna multiply that by two</p>



<p>and it&#8217;s gonna be this number right here so that&#8217;s gonna be zero because it didn&#8217;t exceed</p>



<p>or meet one and so the number we have left over is just that okay so now</p>



<p>because there&#8217;s no symmetry you can see that the number is going to be point</p>



<p>zero zero one zero zero zero we go from top to bottom we don&#8217;t do any kind of</p>



<p>reversal like you might do with whole number binary conversion I don&#8217;t know</p>



<p>maybe it&#8217;ll be zero for a long long long long time and never or yeah they&#8217;ll</p>



<p>probably be some ones in there at least I don&#8217;t know if it&#8217;s ever going to</p>



<p>resolve you&#8217;ll know you&#8217;re finished when the</p>



<p>Here is a zero.</p>



<p>So again, I&#8217;m just going to give up on this because I don&#8217;t really know if it&#8217;s going to work.</p>



<p>Let&#8217;s do a number that I know is going to resolve.</p>



<p>I have this one prepared in advance.</p>



<p>So let&#8217;s do 0.84375.</p>



<p>Okay.</p>



<p>So how do we convert this?</p>



<p>Again, just multiply by two.</p>



<p>Every single time you meet or exceed one, then you&#8217;ll say that we have a one in the binary number.</p>



<p>binary number and then subtract one after that and if not we will say that</p>



<p>we have a zero in the binary position and then we won&#8217;t subtract one okay so</p>



<p>that number multiplied by two is going to be point one six eight seven five so</p>



<p>that&#8217;s definitely greater than or equal to one so I&#8217;m going to say we have a one</p>



<p>in the binary position and then the next number is going to be just be zero point</p>



<p>now we take that number 6875 you could also just you know in your calculator you could say minus</p>



<p>one and then we&#8217;ll multiply it by two to get the next bit the number is going to be 1.375 so i&#8217;m</p>



<p>going to write 1.375 here and then it&#8217;s greater than or equal to one so it&#8217;s going to be another</p>



<p>one here and then after we subtract one it&#8217;s going to be 375 no problem okay so let me just</p>



<p>And then multiply by 2 to get to the next bit position.</p>



<p>It&#8217;s going to be 0.75.</p>



<p>All right, so 0.75, that number is less than 1, so we have a 0 in that bit position.</p>



<p>We also don&#8217;t subtract anything because we had a 0 in that bit position.</p>



<p>Then we just multiply by 2 again.</p>



<p>Multiply by 2, now we have 1.5 because that&#8217;s greater than or equal to 1.</p>



<p>We have a 1 in that bit&#8217;s position, then we subtract 1.</p>



<p>one it&#8217;s just going to be 0.5 that should be pretty easy right because that&#8217;s that sounds</p>



<p>like there&#8217;s a one in a bit and then it&#8217;s just done after that so i&#8217;m going to do minus one</p>



<p>and then multiply by two again notice how that is exactly a one so it&#8217;s going to be 1.0</p>



<p>which means we have a one in the position because it is equal to or greater than one</p>



<p>and then uh well what we have left over is zero</p>



<p>Zero multiplied by two is going to be zero.</p>



<p>So that means if we kept doing this forever,</p>



<p>then all the numbers down here are just going to be zeros forever.</p>



<p>And I said in another video,</p>



<p>when you realize what&#8217;s going on with the zeros,</p>



<p>like where are they?</p>



<p>Are they on the left or the right?</p>



<p>When you&#8217;re converting a whole number from binary to decimal or decimal to binary,</p>



<p>the zeros would be on the left side.</p>



<p>So that&#8217;s why we would reverse</p>



<p>because if you just add infinity zeros on the left of a whole number,</p>



<p>you&#8217;re not changing the value.</p>



<p>number you&#8217;re not changing the value but if you added them to the right you&#8217;d be increasing the</p>



<p>value when it comes to the fractions the right side of the fraction won&#8217;t change the number for</p>



<p>example if we had you know one point and then some like random binary numbers if we just kept adding</p>



<p>zeros on the right side that&#8217;s not changing the value of the number because this is the fractional</p>



<p>part however if we started adding numbers on the left side then we would make the fractional part</p>



<p>smaller and smaller and smaller so that means the zeros have to be on the right side and you can see</p>



<p>and you can see here the right side is the bottom so that means we&#8217;re going to take these numbers</p>



<p>I&#8217;ll just put etc here just so you can see etc that means we&#8217;re going from top to bottom so the</p>



<p>final number is 0.11011 and then a bunch of zeros after that are just you know nothing</p>



<p>and that&#8217;s the final answer we now have 0.84375 is equal to binary that number and we&#8217;ll just say</p>



<p>that number and we&#8217;ll just say OB to to indicate that the following is a binary</p>



<p>number because again you could have a decimal number and then have like a</p>



<p>bunch of like ones and zeros in the fraction part I guess so to make sure</p>



<p>that the reader understands what they&#8217;re seeing you&#8217;ll say OB to indicate this is</p>



<p>a binary number on exams or quizzes if you&#8217;re out there doing this for an exam</p>



<p>or a quiz keep in mind you probably want to talk to professor to make sure that</p>



<p>ob is supposed to be part of your answer they might just want this it depends anyway so 0.11011</p>



<p>okay then let&#8217;s convert it back again let&#8217;s let&#8217;s convert this number to the original decimal number</p>



<p>there okay so how can we do that pretty much just start adding the fractions up so remember the</p>



<p>Remember, the first fraction that we see is going to be one half.</p>



<p>One half.</p>



<p>And the second fraction we see is going to be one fourth.</p>



<p>And then we just keep multiplying.</p>



<p>One fourth, one half.</p>



<p>Maybe I should write this in a notepad here.</p>



<p>We&#8217;ll see one half plus one fourth plus one eighth.</p>



<p>And some of these bits aren&#8217;t going to count.</p>



<p>Like, for instance, the one eighth, it&#8217;s not going to count towards the fraction.</p>



<p>But for me personally, if I forget to type one eighth,</p>



<p>I&#8217;m probably going to accidentally use it for the next position.</p>



<p>So I&#8217;m just going to type everything one at a time.</p>



<p>So let&#8217;s see, we have one, two, three, four, five, one, two, three, four.</p>



<p>So I got to do one more plus one 32nd and then multiply by the bits.</p>



<p>So say like, you know, one times that and then one times that and then zero times that</p>



<p>to basically, you know, cancel it out.</p>



<p>And then one times that and then one times that.</p>



<p>plug it all into the calculator</p>



<p>let&#8217;s see if I got that right</p>



<p>0.84375</p>



<p>so that&#8217;s how you convert</p>



<p>back from binary to decimal</p>



<p>pretty easy and then also</p>



<p>of course when you&#8217;re practicing this you want to try</p>



<p>with a bunch of different random numbers to start off with</p>



<p>you just want to be</p>



<p>careful again this process</p>



<p>could take forever if you have like</p>



<p>you know the wrong number that you</p>



<p>start with but I guess at least</p>



<p>at least when we&#8217;re converting from binary to decimal it&#8217;s going to end up resolving to something</p>



<p>uh it won&#8217;t necessarily be something that you can&#8217;t represent but you know if you start</p>



<p>up with a random number in decimal there&#8217;s a chance maybe it&#8217;s not going to work with binary</p>



<p>okay well you have to give up and call it a precision loss okay so then now let&#8217;s uh let&#8217;s</p>



<p>ask what if we had a complex number because we know how to do this now with just the fractional</p>



<p>now with just the fractional part but what if we had a number that was um a little bit more</p>



<p>difficult let&#8217;s say we have wait a minute you know for you know for 37 5.</p>



<p>oh i think i just accidentally did a totally different number than i wanted to on my plan</p>



<p>luckily i got the right answer okay</p>



<p>Anyway, what if we had a more complicated number?</p>



<p>Let&#8217;s see, 804, 6875.</p>



<p>Okay, so 804, 6875, but with a 45 in front of that.</p>



<p>Remember we said before that this is the whole part</p>



<p>and this is the fractional part,</p>



<p>and you just wanna do them separately</p>



<p>and then combine them afterwards.</p>



<p>So the whole part, let&#8217;s see, what is that gonna be?</p>



<p>I&#8217;m just gonna say that this is not a video</p>



<p>for whole number binary conversion.</p>



<p>This is just dealing with fractions.</p>



<p>just dealing with fractions. Find my other videos if you want to know how to convert the whole part,</p>



<p>but I&#8217;m going to say that 45 is just this number in binary. And you can double check real fast.</p>



<p>You can say 1 plus, here let&#8217;s do it again, let&#8217;s do it just to be sure. 1 plus not a 2 because</p>



<p>there&#8217;s a 0 there, and then we&#8217;ll say 4 plus 8 plus not a 16 because there&#8217;s a 0 there, and then</p>



<p>plus 32. Add that together, that&#8217;s 45. So the whole number part is pretty easy if you already know how</p>



<p>number part is pretty easy if you already know how binary conversion but now let&#8217;s convert point uh</p>



<p>zero eight zero point eight zero four whoops screenshot no thank you zero point eight oh four</p>



<p>six eight seven five so i&#8217;m gonna have to do this from scratch since this is a different number than</p>



<p>i just worked with we&#8217;ll do that multiplied by two and it&#8217;s going to be this number</p>



<p>is that really not the same number?</p>



<p>Yeah, I guess I really just did a different number.</p>



<p>Okay, so that means we&#8217;re going to have a 1 in the binary position</p>



<p>and the remaining fractional part is just going to be this.</p>



<p>Whoops, zero point that.</p>



<p>So then we take that number and bring it down.</p>



<p>Multiply it by 2.</p>



<p>Whoops, not supposed to actually bring that part down.</p>



<p>We&#8217;ll bring it into the calculator.</p>



<p>We&#8217;ll multiply it by 2.</p>



<p>actually let me get that again and subtract one just to double check myself it&#8217;s always good to</p>



<p>double check yourself then we&#8217;ll multiply this by two and then the number is going to be point</p>



<p>1.28 so we have that and then since it&#8217;s either equal to or greater than one it&#8217;s going to be</p>



<p>you know a one in the binary position so 0.21875 is going to be the remainder there</p>



<p>so I&#8217;m going to do minus 1 and then times 2 to make sure the calculator agrees with me whoops</p>



<p>21875 okay then I&#8217;ll do a multiply by 2 to get the next number 4 3 7 5</p>



<p>and that&#8217;s not equal to or greater than 1 so we&#8217;ll put a 0 there and we won&#8217;t subtract anything</p>



<p>so it&#8217;s just going to be 0.4375 again then we&#8217;ll multiply that by 2 to get the next number</p>



<p>times two it&#8217;s going to be 0.875 so 0.875 again this is not one or greater so we have zero in</p>



<p>the binary position and we don&#8217;t subtract anything 0.875 multiply by two again times two so it&#8217;s</p>



<p>going to be 1.75 1.75 and then of course we&#8217;ll have a one in the binary position and the leftover</p>



<p>0.75 so let me just go back to the calculator and I&#8217;ll say minus 1 times 2 it&#8217;ll give us 1.5</p>



<p>so 1.5 over here means we&#8217;ll have a 1 in the binary position because it was equal to or greater</p>



<p>than 1 the leftover is going to be 0.5 now you know we&#8217;re about to finish because 0.5 times 2</p>



<p>is just going to be 1.0 which will give us a 1 for the binary part and then the remainder is going</p>



<p>remainder is going to be 0.0 and then you know there&#8217;s no need to multiply 0 by 2 because it is</p>



<p>forever going to just be zeros uh maybe i&#8217;ll just write it out one more time just so you know 000</p>



<p>right remember that so that means of course the zeros are on the right side of the fractional</p>



<p>part and on the left side is going to be 0.110011</p>



<p>1100111 and then now we just have to combine those two numbers so maybe just I&#8217;ll put something</p>



<p>here indicating that this is the conversion of just that number like that now we&#8217;ll combine</p>



<p>both of those parts right so 45 was this so I&#8217;ll say maybe therefore this big number right here</p>



<p>combine this number for 45 and then I&#8217;ll just put a decimal point and then I&#8217;ll put the fractional</p>



<p>part on the right side and then let me just double check my work real fast it should be</p>



<p>10110111 wait wait what no no 101101 and then 1100111 okay so that&#8217;s it we&#8217;ve converted</p>



<p>converted a complicated decimal number into binary.</p>



<p>And we can do it in the reverse, just using the same thing.</p>



<p>You know, step one, convert this number into a whole number of decimal.</p>



<p>And then step two, convert this number into a whole number,</p>



<p>sorry, a just only fractional number for decimal</p>



<p>by just getting the one half plus one fourth and so forth.</p>



<p>put them around a decimal point just for practice okay I&#8217;ll go ahead and do it</p>



<p>some of you are probably like why won&#8217;t you do it I&#8217;ll do it okay so just only</p>



<p>looking at the fractional part because that this is not a video to convert</p>



<p>whole numbers in binary and decimal but just to convert the fractional part only</p>



<p>I&#8217;m gonna do let&#8217;s see say whoops whoops whoops whoops whoops whoops maybe I need</p>



<p>Okay, so starting with just this one right here,</p>



<p>it&#8217;s going to be 1 half plus 1 fourth plus not 1 eighth, not 1 16th, a 32.</p>



<p>1 32 plus 1 over 64 plus 1 over 128.</p>



<p>0.8046875.</p>



<p>So it looks like we succeeded.</p>



<p>Okay, so now we know how to convert</p>



<p>a decimal number with a fraction</p>



<p>into a binary number with a fraction.</p>



<p>And we also know how to convert</p>



<p>a binary number with a fraction</p>



<p>to a decimal number with a fraction.</p>



<p>That feels like a long video.</p>



<p>Let&#8217;s see what it is after I cut this.</p>



<p>Thank you so much for watching.</p>



<p>I hope you learned a little bit of stuff</p>



<p>and you had a little bit of fun.</p>



<p>I will see you in the next video.</p>



<p>grow this community so we&#8217;ll be able to do more videos, longer videos, better videos,</p>



<p>or just I&#8217;ll be able to keep making videos in general. So please do me a kindness and subscribe.</p>



<p>You know, sometimes I&#8217;m sleeping in the middle of the night and I just wake up because I know</p>



<p>somebody subscribed or followed. It just wakes me up and I get filled with joy. That&#8217;s exactly what</p>



<p>happens every single time. So you could do it as a nice favor to me or you could troll me if you</p>



<p>want to just wake me up in the middle of the night, just subscribe and then I&#8217;ll just wake up.</p>



<p>I promise that&#8217;s what will happen.</p>



<p>Also, if you look at the middle of the screen right now, you should see a QR code which you can scan in order to go to the website,</p>



<p>which I think is also named somewhere at the bottom of this video.</p>



<p>And it&#8217;ll take you to my main website where you can just kind of like see all the videos I published and</p>



<p>the services and tutorials and things that I offer and all that good stuff.</p>



<p>And if you have a suggestion for</p>



<p>or just future videos that you want to see, please leave a comment. Or if you just want to say,</p>



<p>hey, what&#8217;s up? What&#8217;s going on? You know, just send me a comment, whatever. I also wake up for</p>



<p>those in the middle of the night. I get, I wake up in a cold sweat and I&#8217;m like,</p>



<p>it would really, it really mean the world to me. I would really appreciate it. So again,</p>



<p>thank you so much for watching this video and enjoy the cool music as, as I fade into the</p>



<p>darkness, which is coming for us all.</p>



<p>Thank you.</p>
<p>The post <a href="https://www.NeuralLantern.com/how-to-convert-decimal-fractions-to-binary-and-back-easy-step-by-step-guide/">How to Convert Decimal Fractions to Binary (and Back!) &#8211; Easy Step-by-Step Guide</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.NeuralLantern.com/how-to-convert-decimal-fractions-to-binary-and-back-easy-step-by-step-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hex to Decimal Made Easy: Fun &#038; Simple Conversion Guide!</title>
		<link>https://www.NeuralLantern.com/hex-to-decimal-made-easy-fun-simple-conversion-guide/</link>
					<comments>https://www.NeuralLantern.com/hex-to-decimal-made-easy-fun-simple-conversion-guide/#respond</comments>
		
		<dc:creator><![CDATA[mike]]></dc:creator>
		<pubDate>Fri, 02 May 2025 09:23:46 +0000</pubDate>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Conversions]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[beginner coding]]></category>
		<category><![CDATA[binary to decimal]]></category>
		<category><![CDATA[coding for beginners]]></category>
		<category><![CDATA[coding guide]]></category>
		<category><![CDATA[computer science basics]]></category>
		<category><![CDATA[computer science tutorial]]></category>
		<category><![CDATA[hex to decimal]]></category>
		<category><![CDATA[hexadecimal to decimal]]></category>
		<category><![CDATA[hexadecimal tutorial]]></category>
		<category><![CDATA[learn to code]]></category>
		<category><![CDATA[number conversion]]></category>
		<category><![CDATA[number systems]]></category>
		<category><![CDATA[programming tutorial]]></category>
		<category><![CDATA[tech education]]></category>
		<guid isPermaLink="false">https://www.NeuralLantern.com/?p=95</guid>

					<description><![CDATA[<p>Learn to convert hexadecimal to decimal with this fun, easy guide! Perfect for beginners in coding and computer science. #HexToDecimal #LearnToCode</p>
<p>The post <a href="https://www.NeuralLantern.com/hex-to-decimal-made-easy-fun-simple-conversion-guide/">Hex to Decimal Made Easy: Fun &amp; Simple Conversion Guide!</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Hex to Decimal Made Easy: Fun &amp; Simple Conversion Guide!" width="1380" height="776" src="https://www.youtube.com/embed/yDk-fB52i0A?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p>Confused by hexadecimal numbers? Don’t worry! This fun, step-by-step guide makes converting hex to decimal super easy, even for beginners. With clear examples and a chill vibe, you’ll master this computer science skill in no time. Perfect for students, coders, or anyone curious about number systems. Hit subscribe for more coding tutorials, and check out our site for extra resources! #HexToDecimal #CodingForBeginners #ComputerScience #LearnToCode</p>



<p>Introduction to Hexadecimal Conversion 00:00:00<br>Purpose of Conversion 00:00:11<br>Number System Basics 00:00:39<br>Hexadecimal Explanation 00:01:12<br>Converting Hex to Decimal 00:01:59<br>First Example Setup 00:02:35<br>Decimal Place Value Recap 00:03:02<br>Hexadecimal Place Value 00:05:14<br>Formula for Conversion 00:05:43<br>Translating Hex Letters 00:08:17<br>First Example Calculation 00:09:51<br>Second Example Introduction 00:11:14<br>Second Example Conversion 00:11:58<br>Second Example Result 00:13:11<br>Conclusion and Call to Action 00:14:00</p>



<p>Thanks for watching!</p>



<p>Find us on other social media here:</p>



<ul class="wp-block-list">
<li>https://www.NeuralLantern.com/social</li>
</ul>



<p>Please help support us!</p>



<ul class="wp-block-list">
<li>Subscribing + Sharing on Social Media</li>



<li>Leaving a comment or suggestion</li>



<li>Subscribing to our Blog</li>



<li>Watching the main &#8220;pinned&#8221; video of this channel for offers and extras</li>
</ul>



<p>Hello there. Let&#8217;s talk about converting hexadecimal to decimal.</p>



<p>So why would you do this? Of course, sometimes in computer science and other realms, you may be</p>



<p>faced with a number that looks like this, and it&#8217;s got some letters in there, and it&#8217;s weird,</p>



<p>and you&#8217;re thinking, oops, not a V. That wouldn&#8217;t work. Not a G. And you&#8217;re thinking like, what does</p>



<p>what does this number mean in decimal well this is a number that is real and we can just change</p>



<p>the way it&#8217;s represented uh to decimal so that we can understand what it is so just like a quick</p>



<p>recap if you haven&#8217;t watched my other videos yet uh in decimal we have a base 10 system which just</p>



<p>basically means we have these characters zero one two three four five six seven eight nine there</p>



<p>base is 10. In binary, of course, we have base two, which is just, you know, we have a zero and a one</p>



<p>because in the computer, which is why we learn binary, we just have on and off basically for</p>



<p>every single, you know, part of the computer. There&#8217;s just like a certain voltage or there&#8217;s</p>



<p>not a certain voltage and that&#8217;s it. And then for hexadecimal, which is a way to represent the same</p>



<p>numbers, but just in a more compact way. It&#8217;s a little bit more compact than decimal. It&#8217;s a lot</p>



<p>than binary we can say that this is base 16 which means we have 16 total characters that we can work</p>



<p>with zero one two three four five six seven eight nine and once we run out of numbers we just start</p>



<p>using letters so a b c d e f so there are 16 total characters if we include the zero which means we</p>



<p>So that&#8217;s the basics of you know the number basis let&#8217;s uh let&#8217;s work out how to convert a hex</p>



<p>number to decimal. So I&#8217;m going to say ox because in hex when you write down a hex number you should</p>



<p>usually put ox in front of it unless the program you&#8217;re working with doesn&#8217;t understand that but</p>



<p>usually especially for a human reader you should do it this way. So I&#8217;m going to just type like a</p>



<p>few random maybe I have to I have to keep the number small because hex will explode it&#8217;ll be</p>



<p>not careful. So I&#8217;m going to put like a I don&#8217;t know, maybe a few decimal numbers there or a few</p>



<p>like digits that are zero to nine, then I&#8217;ll just to make it more interesting, I&#8217;ll put some letters</p>



<p>in there. How about like an E there? And then I don&#8217;t know, like, we&#8217;ll do a B there. Okay, so</p>



<p>how many do I have? 12341234? How about we get rid of? Now, let&#8217;s go for it. This is going to be an</p>



<p>So this is our starting number hexadecimal. What we need to do is understand that, well,</p>



<p>a recap if you haven&#8217;t watched my other videos yet. In decimal we have, let&#8217;s say, 0, 1, 2, 3,</p>



<p>4, 5, 6. You know that the first digit has a strength of 1. You multiply 6 by 1 to understand</p>



<p>the real power of that 6. For the 5, you know that it has a power of 10 or a strength of 10</p>



<p>10 because it&#8217;s the next digit over you know to the left same thing for the four it&#8217;s like got a</p>



<p>strength of 100 and so every time you move to the left the strength of the digit increases by a</p>



<p>factor of 10. why does it increase by a factor of 10 because decimal is base 10 because we have 10</p>



<p>possible digits we can represent for each character okay so by the time we get to that</p>



<p>left, we have a strength of 100,000. So, you know, if you wanted to really understand 100,000,</p>



<p>if you really wanted to understand, you know, how powerful, let me, let me give some spacing here.</p>



<p>So this feels better. Okay. If you really wanted to understand like, you know, what is the strength?</p>



<p>What is like the actual value of this digit right here? You&#8217;re imagining this is like 100,000.</p>



<p>this digit here you&#8217;re imagining that this is two of ten thousand you know two times ten thousand</p>



<p>and so forth so uh uh just like another recap the first digit is really 10 to the zero power</p>



<p>like in terms of the strength because if you multiply um let me pin this to the top</p>



<p>if you multiply you know 10 to the something power and you start at zero with the most</p>



<p>the weakest digit 10 to the zero power gives a strength of one and then every time you move over</p>



<p>to the left you just increase the exponent there by one so 10 to the first power is going to be 10</p>



<p>that&#8217;s what that five has got so it&#8217;ll be five times 10 to give us an understanding of how you</p>



<p>know powerful that digit is move one over to the left it&#8217;s 10 to the second power so that&#8217;s 100</p>



<p>move one over to the left it&#8217;s 10 to the third power and so forth until we get to 10 to the fifth</p>



<p>1 times 10 to the fifth power to understand how powerful that is so we can do the same exact thing</p>



<p>with hexadecimal except instead of raising 10 to a power we raise 16 to a power because hexadecimal</p>



<p>is base 16 whereas decimal is base 10. so that means this e is is uh you know 10 to the or sorry</p>



<p>16 to the zero power and then that 3 is 16 to the 1 power and that f is 16 to the 2 power and so</p>



<p>16 to the 2 power and so forth so first what we should do is let&#8217;s write out a</p>



<p>formula which won&#8217;t work in a calculator because we&#8217;re going to put some letters</p>



<p>in there and then later we&#8217;ll translate the letters to actual values so we&#8217;ll</p>



<p>start off with the e we&#8217;ll say e times 16 to the something power it&#8217;s going to be</p>



<p>16 to the zero power okay so then the next digit is 3 so 3 times 16 to the</p>



<p>And then the next thing is going to be F times 16 to the second power.</p>



<p>And just as a reminder here, I&#8217;m starting with zero with the smallest digit.</p>



<p>And I&#8217;m just working my way up in steps of one.</p>



<p>So it&#8217;s zero power or raised to zero and raised to one and raised to two and just so forth all the way to the left.</p>



<p>That number will just keep increasing by one.</p>



<p>The exponent will increase by one.</p>



<p>times 16 to the third power do it again um one times 16 to the fourth power do it again</p>



<p>um d times 16 to the fourth power oh what did i do did i erase something</p>



<p>0, 1, 2, 3, 4, 5.</p>



<p>Oh, that was supposed to be a 5.</p>



<p>Okay, maybe it&#8217;s good that I thought I made a mistake</p>



<p>because that drew my attention to the bad exponent.</p>



<p>Okay, so after the D is a B.</p>



<p>B times 16 to the 6th power.</p>



<p>And then one more.</p>



<p>We&#8217;ll say 6 times 16 to the 7th power.</p>



<p>And then another one.</p>



<p>A times 16 to the, whoops, to the eighth power.</p>



<p>And another one.</p>



<p>One times 16 to the ninth power.</p>



<p>Ninth power.</p>



<p>Okay.</p>



<p>So just double check your work real fast.</p>



<p>You know, because I make typos all the time and I get things wrong all the time.</p>



<p>So just double check.</p>



<p>Zero, one, two, three, four, five, six, seven, eight, nine.</p>



<p>It&#8217;s sequential.</p>



<p>Double check the digits.</p>



<p>6 b d 1 3 f 3 e okay so i got that right i&#8217;m not going to erase my work because if i end up screwing</p>



<p>up the next part oh man is it going to be a hassle to correct so i&#8217;m just going to copy paste it here</p>



<p>and then i&#8217;m going to start translating the letters to numbers anytime you see a number here like one</p>



<p>time something it&#8217;s just one but every time you see a letter you have to translate that into</p>



<p>in decimal. Remember in hex, we&#8217;ll say, what can I do?</p>



<p>I can say A, B, C, D, E, F.</p>



<p>And I can say that the A is worth 10.</p>



<p>The B is worth 11.</p>



<p>The C is worth 12.</p>



<p>And the D is worth 13.</p>



<p>The E is worth 14 and the F is worth 15.</p>



<p>Well, maybe I should do the other numbers too.</p>



<p>five, six, seven, eight, nine,</p>



<p>just so we have a visual reminder</p>



<p>of like what we&#8217;re even looking at.</p>



<p>And I won&#8217;t write down what the digits are worth</p>



<p>because they&#8217;re worth themselves, right?</p>



<p>So like zero through nine, it&#8217;s just worth zero through nine.</p>



<p>So now that we have this little translation table up here,</p>



<p>anytime we see a letter,</p>



<p>we can just translate it very quickly to the decimal value.</p>



<p>So A is worth 10, we&#8217;ll put a 10 there.</p>



<p>Maybe I&#8217;ll add some spacing so that this continues to line up.</p>



<p>I see a B here, so the B is gonna be worth 11,</p>



<p>11 add another space so it lines up i&#8217;m running out of room but i&#8217;ll try the d is worth 13 add</p>



<p>another space so it lines up and then the f is worth 15 add another space so it lines up the e</p>



<p>is worth 14 so i&#8217;ll add another space so it lines up okay let me just double check my work here a b d</p>



<p>So now I&#8217;ve got like a big formula that I wrote out.</p>



<p>I can literally now, I mean, you can do this in your head if you&#8217;re like a crazy genius,</p>



<p>but I&#8217;m just going to paste this into a calculator and hit enter.</p>



<p>And this is the number that we had originally in hex.</p>



<p>Maybe I&#8217;ll put commas here to make things more fun.</p>



<p>I don&#8217;t know.</p>



<p>You don&#8217;t really need to do that, but I&#8217;m going to.</p>



<p>So for me, it&#8217;s easier to read.</p>



<p>this is uh like 113 trillion 478 no wait that&#8217;s a million and that&#8217;s a bill okay so 113 mil a</p>



<p>billion 478 million 25 022. let me punch up my personal calculator here to make sure that i&#8217;m</p>



<p>getting this right i&#8217;m not going to show this on the screen because i&#8217;ve just got this up</p>



<p>on my host machine bet you didn&#8217;t know i&#8217;m inside of vm right now surprised you didn&#8217;t know that</p>



<p>decimal and the number is supposed to be 113478025022 okay so we did this right we now know how</p>



<p>to convert from hexadecimal to decimal and it&#8217;s pretty awesome right okay let&#8217;s do another number</p>



<p>one that is not quite as hard let&#8217;s see how many digits do we have here one two three i think we</p>



<p>5, 6, 7, 8, 9, 10.</p>



<p>Yeah, okay, we had 10.</p>



<p>Let&#8217;s do a five-digit hex number.</p>



<p>Okay, maybe I&#8217;ll copy…</p>



<p>I&#8217;ll copy just this table at the top</p>



<p>since you don&#8217;t need it anymore,</p>



<p>but I&#8217;m going to need it to do my calculations.</p>



<p>So we&#8217;ll do 1, 2, 3, 4, 5,</p>



<p>and I&#8217;ll just start randomly changing</p>



<p>some of these numbers.</p>



<p>Like an 8 over here, and how about like a 2?</p>



<p>So I&#8217;ve got five numbers.</p>



<p>This is OX.</p>



<p>I&#8217;m going to say this is a hexadecimal number.</p>



<p>Kind of ambiguous if we tell the reader this is a hex number,</p>



<p>but then we put OX.</p>



<p>Kind of don&#8217;t really need to tell them that it&#8217;s hex</p>



<p>because OX tells you it&#8217;s hex.</p>



<p>It&#8217;s not even part of the value.</p>



<p>So let&#8217;s get on with it.</p>



<p>I&#8217;ll start by just doing 8 times 16 to the something power,</p>



<p>which is going to be 0 for that first position.</p>



<p>the power as we go to the left so it&#8217;s going to be 1 times 16 to the first power and then it&#8217;s</p>



<p>going to be f times 16 to the second power and then it&#8217;s going to be 2 times 16 to the third</p>



<p>power oh no my thoughts are wandering i think i&#8217;m getting bored of recording this video i&#8217;m starting</p>



<p>to the fourth power but honestly why couldn&#8217;t they end up together so and</p>



<p>then I think one two three four five okay so that&#8217;s five digits a to f one</p>



<p>eight a to f one eight all right zero one two three four just to make sure</p>



<p>that I got my exponents right copy paste it so I don&#8217;t have to repeat my work if</p>



<p>I get something wrong I&#8217;m gonna translate the letters into numbers so a</p>



<p>becomes 10 f becomes 15 and the other numbers are fine as is I can just copy</p>



<p>fine as is I can just copy paste this whole thing stick it into a calculator and now I know that</p>



<p>this number is actually 667 416 with a little comma in there don&#8217;t put commas if you are taking an</p>



<p>exam somewhere if you&#8217;re watching my video to help with your exam because most most likely the exam</p>



<p>that you&#8217;re taking will not accept a comma it&#8217;s not been pre-programmed for a comma I don&#8217;t know</p>



<p>If you start typing numbers and a comma just shows up, then it probably was programmed for a comma.</p>



<p>But don&#8217;t assume it might be a string match and not a numeric match.</p>



<p>So be careful out there.</p>



<p>Be careful.</p>



<p>So 667-416.</p>



<p>Let me punch this into my personal calculator just to make sure I got this right and I don&#8217;t have to issue an errata.</p>



<p>667-416.</p>



<p>All right.</p>



<p>We&#8217;ve done it.</p>



<p>We know how to convert hexadecimal numbers into decimal numbers.</p>



<p>Thank you so much for watching this video. I hope you enjoyed it and had a little bit of fun and</p>



<p>learned a little bit of stuff. I&#8217;ll see you in the next video. Hey everybody, thanks for watching</p>



<p>this video again from the bottom of my heart. I really appreciate it. I do hope you did learn</p>



<p>something and have some fun. If you could do me a please, a small little favor, could you please</p>



<p>subscribe and follow this channel or these videos or whatever it is you do on the current social</p>



<p>It would really mean the world to me and it&#8217;ll help make more videos and grow this community.</p>



<p>So we&#8217;ll be able to do more videos, longer videos, better videos, or just I&#8217;ll be able to keep making videos in general.</p>



<p>So please do me a kindness and subscribe.</p>



<p>You know, sometimes I&#8217;m sleeping in the middle of the night and I just wake up because I know somebody subscribed or followed.</p>



<p>It just wakes me up and I get filled with joy.</p>



<p>That&#8217;s exactly what happens every single time.</p>



<p>So you could do it as a nice favor to me or you could troll me if you want to just wake me up in the middle of the night.</p>



<p>Just subscribe.</p>



<p>just wake me up in the middle of the night just subscribe and then I&#8217;ll just</p>



<p>wake up I promise that&#8217;s what will happen also if you look at the middle of</p>



<p>the screen right now you should see a QR code which you can scan in order to go</p>



<p>to the website which I think is also named somewhere at the bottom of this</p>



<p>video and it&#8217;ll take you to my main website where you can just kind of like</p>



<p>see all the videos I published and the services and tutorials and things that I</p>



<p>for clarifications or errata or just future videos that you want to see please leave a comment or if</p>



<p>you just want to say hey what&#8217;s up what&#8217;s going on you know just send me a comment whatever I also</p>



<p>wake up for those in the middle of the night I get I wake up in a cold sweat and I&#8217;m like</p>



<p>it would really it really mean the world to me I would really appreciate it so again thank you so</p>



<p>much for watching this video and enjoy the cool music as as I fade into the darkness which is</p>



<p>the darkness which is coming for us all.</p>



<p>Thank you.</p>
<p>The post <a href="https://www.NeuralLantern.com/hex-to-decimal-made-easy-fun-simple-conversion-guide/">Hex to Decimal Made Easy: Fun &amp; Simple Conversion Guide!</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.NeuralLantern.com/hex-to-decimal-made-easy-fun-simple-conversion-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Binary to Decimal Made Easy: Fun Crash Course for Beginners</title>
		<link>https://www.NeuralLantern.com/binary-to-decimal-made-easy-fun-crash-course-for-beginners/</link>
					<comments>https://www.NeuralLantern.com/binary-to-decimal-made-easy-fun-crash-course-for-beginners/#respond</comments>
		
		<dc:creator><![CDATA[mike]]></dc:creator>
		<pubDate>Sun, 06 Apr 2025 01:41:06 +0000</pubDate>
				<category><![CDATA[Videos]]></category>
		<category><![CDATA[base 2 explained]]></category>
		<category><![CDATA[beginner coding]]></category>
		<category><![CDATA[binary conversion]]></category>
		<category><![CDATA[binary for beginners]]></category>
		<category><![CDATA[binary math]]></category>
		<category><![CDATA[binary to decimal]]></category>
		<category><![CDATA[binary tricks]]></category>
		<category><![CDATA[binary tutorial]]></category>
		<category><![CDATA[coding 101]]></category>
		<category><![CDATA[computer science basics]]></category>
		<category><![CDATA[decimal to binary]]></category>
		<category><![CDATA[how to read binary]]></category>
		<category><![CDATA[learn binary]]></category>
		<category><![CDATA[number systems]]></category>
		<category><![CDATA[tech explained]]></category>
		<guid isPermaLink="false">https://www.NeuralLantern.com/?p=82</guid>

					<description><![CDATA[<p>Binary got you baffled? Let’s break it down! In this fun crash course, I’ll show you how to convert binary to decimal step-by-step—super easy, no stress. We’ll go from 765,432&#8230;</p>
<p>The post <a href="https://www.NeuralLantern.com/binary-to-decimal-made-easy-fun-crash-course-for-beginners/">Binary to Decimal Made Easy: Fun Crash Course for Beginners</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-wp-embed is-provider-rumble-com wp-block-embed-rumble-com"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted" title="Binary to Decimal Made Easy: Fun Crash Course for Beginners" src="https://rumble.com/embed/v6pisf7/#?secret=fLsPJTh6ug" data-secret="fLsPJTh6ug" width="1000" height="563" frameborder="0"></iframe>
</div></figure>



<p>Binary got you baffled? Let’s break it down! In this fun crash course, I’ll show you how to convert binary to decimal step-by-step—super easy, no stress. We’ll go from 765,432 in decimal to 10101111 in binary (that’s 335, btw), with tricks to eyeball it fast. Perfect for beginners or anyone who loves a good tech challenge. Hit subscribe—I wake up in a cold sweat when you do, and it means the world! More vids coming your way!</p>



<p>Introduction to Binary and Decimal 00:00:00<br>Understanding Decimal System 00:00:44<br>Decimal Position Strengths 00:01:39<br>Decimal Formula Explanation 00:03:48<br>Transition to Binary System 00:06:31<br>Binary Position Strengths 00:07:19<br>Binary Formula Breakdown 00:10:46<br>Calculating Binary Example (335) 00:12:55<br>Quick Binary Conversion Trick 00:15:24<br>Memorizing Binary Positions 00:13:52<br>Small Binary Example (19) 00:15:43<br>Closing and Subscription Request 00:16:48</p>



<p>Thanks for watching!</p>



<p>Find us on other social media here:</p>



<ul class="wp-block-list">
<li>https://www.NeuralLantern.com/social</li>
</ul>



<p>Please help support us!</p>



<ul class="wp-block-list">
<li>Subscribing + Sharing on Social Media</li>



<li>Leaving a comment or suggestion</li>



<li>Subscribing to our Blog</li>



<li>Watching the main &#8220;pinned&#8221; video of this channel for offers and extras</li>
</ul>



<p>Hello there. Let&#8217;s talk about converting binary to decimal.</p>



<p>Just a quick recap for those of you who don&#8217;t know. Watch my other videos if you&#8217;re not sure</p>



<p>about number bases, but basically, you know, decimal is a number system that has 10 characters</p>



<p>to represent a number. So 0, 1, 2, 4, 5, 6, 7, 8, 9. That&#8217;s 10 characters in decimal.</p>



<p>In binary, we just have two characters.</p>



<p>So it&#8217;s base two, whereas decimal is base 10.</p>



<p>How can we convert between the two?</p>



<p>Well, first, before we can try to convert between the two,</p>



<p>we should try to understand what&#8217;s really going on with normal decimal representations.</p>



<p>So if I have a decimal number here, and I say, I don&#8217;t know,</p>



<p>let&#8217;s just type a couple of random numbers.</p>



<p>How do we really know what this value is?</p>



<p>How do we kind of understand what is the meaning?</p>



<p>Okay, so you know that, you know,</p>



<p>if you just kind of look at this for a second,</p>



<p>you&#8217;ll realize this is 765,000, right?</p>



<p>765,432.</p>



<p>How do we know that this is 700,000?</p>



<p>Because it&#8217;s in a certain position.</p>



<p>It&#8217;s like, you know, several digits to the left.</p>



<p>How do we know that the next one represents 65,000?</p>



<p>Well, it&#8217;s one less to the left.</p>



<p>uh it&#8217;s a tenth of the like power of the seven digit same thing for the five how do we know</p>



<p>that&#8217;s a thousand same thing for the four and the three and the two what we really do is we end up</p>



<p>deciding okay you know what the uh the first digit here on the right side that two uh the strength of</p>



<p>of one. So like, you know, two times one is just two. So whatever, whatever that digit is, if it</p>



<p>was a five, it would just be a five, five times one is five, right? So the strength of the very</p>



<p>first digit on the right side is just one. Every time we move one digit to the left, we multiply</p>



<p>the strength by 10. The reason we multiply the strength by 10 is because there are 10 possible</p>



<p>digits, or 10 possible characters that we can use in decimal. Makes sense, right? So that means the</p>



<p>Makes sense, right?</p>



<p>So that means the three, we know that represents, you know, an addition of 30 because that&#8217;s</p>



<p>the 10th strength place.</p>



<p>Same thing for the four.</p>



<p>We multiply 10 by 10 again to get 100 in that position.</p>



<p>So this one has a strength of 100.</p>



<p>I&#8217;m writing this vertically.</p>



<p>Hopefully this is not too messy, but I&#8217;m hoping you&#8217;ll understand.</p>



<p>Well, I don&#8217;t know.</p>



<p>Maybe if I space this out, does that make it better or worse?</p>



<p>maybe it makes it slightly better i don&#8217;t know i&#8217;m going to roll with it</p>



<p>what can i say i&#8217;m a rebel okay so i live dangerously the five we know that&#8217;s worth</p>



<p>five thousand because again the four position over here you know that third digit it had a</p>



<p>strength of 100 so we multiply that strength by 10 going to the left to to end up with a thousand</p>



<p>to end up with a thousand.</p>



<p>So same thing with the six.</p>



<p>I&#8217;m not going to explain that any further.</p>



<p>You know, it&#8217;s got a strength of, you know, 10,000.</p>



<p>Okay.</p>



<p>And then the seven, it&#8217;s got a strength of 100,000.</p>



<p>And it just keeps going and going and going to millions and billions and trillions</p>



<p>and however far you actually want to go.</p>



<p>That&#8217;s how we understand the decimal numbers</p>



<p>that we&#8217;re looking at.</p>



<p>How could you imagine this in terms of a formula?</p>



<p>Well, we&#8217;re really raising something to the 10th power.</p>



<p>If you think about this, the one,</p>



<p>we could imagine that the value one</p>



<p>is actually 10 to the zero power</p>



<p>because anything raised to the zero power is just a one.</p>



<p>Let me pull up this calculator real fast.</p>



<p>I got to stick that on my desktop in the future.</p>



<p>If we say 10 to the zero power, it&#8217;s just one.</p>



<p>Any number to the zero power is just one.</p>



<p>Okay, so then we would multiply that strength</p>



<p>by the actual digit that we see,</p>



<p>the character that we see.</p>



<p>It&#8217;s a two.</p>



<p>Okay, so that&#8217;s going to be two times 10 to the zero power.</p>



<p>I&#8217;m going to put that in parentheses</p>



<p>to keep it a little bit clean or somewhat cleaner.</p>



<p>So now when we go one to the left</p>



<p>to look at that three digit,</p>



<p>to look at that three digit, we end up with three times something.</p>



<p>Let me get a space here for my brain.</p>



<p>Times 10 to the something power.</p>



<p>Well, every time we go to the left, we just really have to increase the power by one.</p>



<p>It&#8217;s 10 to the first power because we&#8217;re looking for actually just the number 10.</p>



<p>So if we say 10 to the first power on that calculator, it&#8217;s 10.</p>



<p>So then, you know, just keep repeating the process.</p>



<p>10 to the second power. And that should be 100. So if I say 10 to the second power, it&#8217;s 100.</p>



<p>All right. And, you know, we&#8217;re adding all the positions together, even though we&#8217;re multiplying</p>



<p>the digit by its strength. So I&#8217;m going to say five times 10 to the third power. And then again,</p>



<p>just to double check here, 10 to the third power is 1000. So you can see the five was supposed to</p>



<p>and then again we&#8217;ll say six times ten to the fourth power and then just double check here</p>



<p>the fourth power should be a thousand sorry ten thousand and then we&#8217;ll do it one last time we&#8217;ll</p>



<p>say seven times ten to the fifth power which should be a hundred thousand all right so now</p>



<p>that we&#8217;ve written this all out you know this is kind of madness right what you can do now</p>



<p>do now is you can put this into the calculator and it should give you the exact same number that</p>



<p>we started with. We should see 765432, unless there&#8217;s a typo. 765432. Nice. Okay, that might</p>



<p>have seemed like it was a little bit of a waste of time, but it&#8217;s not because now we kind of</p>



<p>understand the breakdown of the different positions of the digits in decimal, which means</p>



<p>now we can do the same thing in binary, basically the exact same thing, except just use a power of,</p>



<p>use a two to some power rather than a 10 to some power because the only reason we use 10 down here</p>



<p>it says we were in decimal that has a base of 10 now let&#8217;s go into binary</p>



<p>which is um a base of two so i&#8217;m going to just i guess maybe what did i do wrong</p>



<p>i hit something and it like did a space i don&#8217;t even want to know i don&#8217;t even want to know</p>



<p>okay so let&#8217;s do a binary number i&#8217;m just going to type a few random digits</p>



<p>a few random digits. I don&#8217;t know what number this is yet, but let&#8217;s work it out slowly</p>



<p>in the same way. You know what, maybe instead of doing the formula first and only, let&#8217;s do</p>



<p>both parts like we did with decimal. So what&#8217;s the position, what&#8217;s the strength of the position</p>



<p>for that first character? Well, I said before the first character is always just going to be,</p>



<p>sorry, the first digit is always just going to be a one, right? That&#8217;s going to be true</p>



<p>So I&#8217;m going to say this has a strength of 1.</p>



<p>How do we know it&#8217;s a strength of 1?</p>



<p>Because we&#8217;ll take 2 to the something power.</p>



<p>We start at 0 for that first position, and it&#8217;s going to give us a 1.</p>



<p>Okay.</p>



<p>So the strength of this one, I already know binary.</p>



<p>So I just know off the top of my head that to go to the left,</p>



<p>the strength just multiplies by 2.</p>



<p>And that&#8217;s pretty easy after you start memorizing it.</p>



<p>I haven&#8217;t quite memorized hexadecimal yet, but maybe you will in another video.</p>



<p>So I&#8217;m going to multiply one by two and I&#8217;m going to end up with two.</p>



<p>Double check over here in the calculator.</p>



<p>Two to the first power is two.</p>



<p>So then the strength of this next digit should be four.</p>



<p>Two times two is four, right?</p>



<p>So let&#8217;s do two to the second power.</p>



<p>That&#8217;s four.</p>



<p>Multiply by two again.</p>



<p>It&#8217;s going to be eight.</p>



<p>Double check over here.</p>



<p>Two to the third power is eight.</p>



<p>The next digit is going to be 16 of its strength.</p>



<p>So I&#8217;m going to write this vertically again.</p>



<p>So it&#8217;s going to be 16.</p>



<p>Double check over here with the calculator.</p>



<p>Double check over here with the calculator, 2 to the 4th power is 16.</p>



<p>Next digit is going to be 32.</p>



<p>Double check with the calculator, 2 to the 5th power.</p>



<p>And things are starting to get messy, so I think I&#8217;m going to like space everything out probably.</p>



<p>Just to make it easier to read.</p>



<p>Tell me if you think this makes it actually easier to read or if I&#8217;m making it way harder.</p>



<p>I think I&#8217;m making it easier.</p>



<p>Okay, so we got 32.</p>



<p>two. Next one up is going to be 64. Just multiply it by two. Double check two to the sixth power.</p>



<p>That&#8217;s going to be 64. And then the biggest one that we&#8217;ve written down is going to be 128.</p>



<p>Double check it. Six to the seventh power is 128. We could go on and on and on, but I&#8217;m just going</p>



<p>to leave it here because we, I hope we have a pretty good idea of, you know, what this means.</p>



<p>delineation or like a delimiter showing us that these are just representing the strengths and</p>



<p>this is the actual number. Okay, so how can we write this out in a formula?</p>



<p>Whoa, what did I do wrong? Did you see that? Oh no. Hang on a second.</p>



<p>I think I missed it. How many digits are there? If there are eight digits, then I definitely forgot</p>



<p>something. No, no. Okay. There are nine digits, so the last one should be 256. Okay.</p>



<ol start="256" class="wp-block-list">
<li>Okay. So I got it all lined up. At some point I must have not lined it up. My apologies,</li>
</ol>



<p>but hey, maybe I&#8217;m making these mistakes on purpose to make sure that you&#8217;re paying attention.</p>



<p>You never know. I want you to think. So 256 is going to be the next number. Double check it with</p>



<p>the calculator. Two to the eighth power, 256. Cool. By the way, a quick trick in binary that</p>



<p>the actual highest number that you can represent in an unsigned binary integer is basically the</p>



<p>strength of the highest digit, you know, this 256 here, multiplied by two and then subtract one</p>



<p>from it. So 256 multiplied by two is going to be 512. So it&#8217;s going to be 511. So I could</p>



<p>represent a number between zero and 511 or 512 possible combinations. Okay, so now let&#8217;s work</p>



<p>let&#8217;s work out the formula.</p>



<p>See 16, 30, 16, 40, okay, I did it okay.</p>



<p>I probably should have rehearsed this.</p>



<p>So let&#8217;s do each position.</p>



<p>So it&#8217;s either always gonna be one times something</p>



<p>or zero times something, right?</p>



<p>Because binary, these characters can only be one or a zero.</p>



<p>So let&#8217;s do on the, starting from the right,</p>



<p>we&#8217;ll say one times two to the something power.</p>



<p>It&#8217;s gonna be two to the zero power</p>



<p>You know, just going to be a one.</p>



<p>Working our way over to the left, it&#8217;s going to be one times two to the something power</p>



<p>to the first power because it just increases every time the power increases.</p>



<p>We have four ones in a row here.</p>



<p>I got to try to remember that.</p>



<p>This is where I&#8217;m going to start making lots and lots of typos.</p>



<p>Two to the second power.</p>



<p>And then we have another one.</p>



<p>One, two, three, four, one times two to the third power.</p>



<p>And then again, we are going to hit a zero.</p>



<p>So it&#8217;s going to be zero times two to the something power.</p>



<p>You might be tempted to omit the zeros.</p>



<p>You can if you want to.</p>



<p>But for me personally, it helps me quickly visually see that I&#8217;m getting the powers in</p>



<p>the right order.</p>



<p>I can see two to the zero power, first power, second power, third power, fourth power.</p>



<p>Sometimes when I omit the zeros, I end up kind of like messing up the order of the powers</p>



<p>and or the order of the exponents.</p>



<p>of the exponents and I have to redo everything all over again.</p>



<p>So I just keep it this way.</p>



<p>Okay, so it&#8217;s one, one, one, one, one, one, one, one, zero.</p>



<p>So there&#8217;s another zero that we need</p>



<p>times two to the fifth power.</p>



<p>So we got both of those zeros now.</p>



<p>And then we need another one times two to the sixth power.</p>



<p>And then we need</p>



<p>0 times 2 to the 7th power.</p>



<p>Okay.</p>



<p>And then we have another 1 times 2 to the 8th power.</p>



<p>And I know we&#8217;re supposed to be done on 8</p>



<p>because that&#8217;s what we were doing before.</p>



<p>The 256 strength.</p>



<p>So unless I made some mistakes here,</p>



<p>this is probably the number that we can punch up into the calculator</p>



<p>to see what this binary number is.</p>



<p>So I&#8217;m going to punch it up.</p>



<p>Huge.</p>



<p>It says that it&#8217;s the number 335.</p>



<p>Let&#8217;s see if that&#8217;s actually right.</p>



<p>I&#8217;m going to punch this up in my personal calculator real fast.</p>



<p>I&#8217;m going to say 10101111.</p>



<p>And the expression is decimal 335.</p>



<p>Yep.</p>



<p>So that&#8217;s it.</p>



<p>We know how to convert from binary to decimal.</p>



<p>And just again, like as a quick shorthand,</p>



<p>it&#8217;s probably a good idea if you&#8217;re involved in computer science,</p>



<p>to memorize these positions up to maybe</p>



<p>6, 5, 5, 3, 6.</p>



<p>That might sound a little extreme sometimes,</p>



<p>but I don&#8217;t know.</p>



<p>Personally, I&#8217;m not like the most advanced</p>



<p>binary reader at all times,</p>



<p>but I can remember up to that much.</p>



<p>And what do I mean when I&#8217;m saying that?</p>



<p>I&#8217;m saying, you know, start with a 1, 2, 4, 8,</p>



<p>8, 2, 56, 5, 12, 1, 2, 4, 2, 0, 4, 8, 4, 0, 9, 6, 8, 1, 9, 2, 1, 6, 3, 8, 4.</p>



<p>Took me a while to remember that one.</p>



<p>3, 2, 7, 6, 8, 6, 5, 5, 3, 6.</p>



<p>So if you think about it, how many bits is this?</p>



<p>1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16.</p>



<p>Right here, 16.</p>



<p>That&#8217;ll give you two bytes worth of memorization or a word on many systems.</p>



<p>on many systems. For me personally, I just, I like to go up to 6, 5, 5, 3, 5 because</p>



<p>remember I was saying, you know, what is the highest number that you can go up to</p>



<p>with a certain number of bits? It&#8217;s always the power or the strength of the highest bit</p>



<p>multiplied by two and then subtract one. So when I remember 6, 5, 5, 3, 6, that tells me that if I</p>



<ol start="65535" class="wp-block-list">
<li>This is very, very useful if you&#8217;re going to be working with binary numbers a lot,</li>
</ol>



<p>or if you&#8217;re taking exams or whatever it is that you&#8217;re doing, I would recommend everyone do this.</p>



<p>Okay. What do you say? What do you say we do another binary number, but we&#8217;ll just do something</p>



<p>a little bit smaller to make it easy. Okay. So by the way, when you start to memorize these positions,</p>



<p>start to eyeball it, which is really, really fast and a good idea. Like I can see those two</p>



<p>numbers right there. I know the first one is a one and the second one is a two. So that means the</p>



<p>one and the one are just going to be a value of three. Then I just quickly go, all right, one,</p>



<p>two, four, eight, one, two, four, eight, 16. So it&#8217;s going to be 16 plus three. So it&#8217;s going to</p>



<p>be 19. I guarantee it. Let&#8217;s, let&#8217;s double check this real fast. We&#8217;ll say one times two to the</p>



<p>and then we&#8217;ll say 1 times 2 to the first power</p>



<p>and then we&#8217;ll say 0 times 2 to the second power</p>



<p>and then we&#8217;ll say 0 times 2 to the third power</p>



<p>and then we&#8217;ll say 1 times 2 to the fourth power</p>



<p>and if I didn&#8217;t go too fast and make a bunch of typos</p>



<p>it should be the number 19</p>



<p>So there is a lot of benefit in memorizing the strength of these different positions.</p>



<p>I personally never remember very much beyond 256 when I&#8217;m actually trying to work out a number</p>



<p>conversion, but when I&#8217;m just thinking of how to compute things, it&#8217;s faster if I can go up to</p>



<ol start="65536" class="wp-block-list">
<li>Okay, I hope you enjoyed this video. I hope you learned a little bit of stuff. I hope</li>
</ol>



<p>you had a little bit of fun. I&#8217;ll see you in the next one.</p>



<p>Hey everybody! Thanks for watching this video again from the bottom of my heart.</p>



<p>I really appreciate it. I do hope you did learn something and have some fun.</p>



<p>If you could do me a please, a small little favor, could you please subscribe</p>



<p>and follow this channel or these videos or whatever it is you do on the current</p>



<p>social media website that you&#8217;re looking at right now. It would really mean the</p>



<p>world to me and it&#8217;ll help make more videos and grow this community so we&#8217;ll</p>



<p>be able to do more videos, longer videos, better videos or just I&#8217;ll be able to</p>



<p>just I&#8217;ll be able to keep making videos in general so please do do me a kindness and uh and subscribe</p>



<p>you know sometimes I&#8217;m sleeping in the middle of the night and I just wake up because I know</p>



<p>somebody subscribed or followed it just wakes me up and I get filled with joy that&#8217;s exactly what</p>



<p>happens every single time so you could do it as a nice favor to me or you could you could troll me</p>



<p>if you want to just wake me up in the middle of the night just subscribe and then I&#8217;ll I&#8217;ll just</p>



<p>wake up I promise that&#8217;s what will happen also uh if you look at the middle of the screen right now</p>



<p>screen right now you should see a QR code which you can scan in order to go to the website which</p>



<p>I think is also named somewhere at the bottom of this video and it&#8217;ll take you to my main website</p>



<p>where you can just kind of like see all the videos I published and the services and tutorials and</p>



<p>things that I offer and all that good stuff and if you have a suggestion for clarifications or</p>



<p>errata or just future videos that you want to see please leave a comment or if you just want to say</p>



<p>what&#8217;s going on? You know, just send me a comment, whatever. I also wake up for those in the middle</p>



<p>of the night. I get, I wake up in a cold sweat and I&#8217;m like, it would really, it really mean the</p>



<p>world to me. I would really appreciate it. So again, thank you so much for watching this video</p>



<p>and enjoy the cool music as, as I fade into the darkness, which is coming for us all.</p>



<p>Thank you.</p>
<p>The post <a href="https://www.NeuralLantern.com/binary-to-decimal-made-easy-fun-crash-course-for-beginners/">Binary to Decimal Made Easy: Fun Crash Course for Beginners</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.NeuralLantern.com/binary-to-decimal-made-easy-fun-crash-course-for-beginners/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
