{"id":1558,"date":"2020-11-01T14:19:26","date_gmt":"2020-11-01T14:19:26","guid":{"rendered":"https:\/\/computerscienced.co.uk\/site\/?page_id=1558"},"modified":"2023-01-01T20:13:49","modified_gmt":"2023-01-01T20:13:49","slug":"how-to-binary-to-denary-conversion","status":"publish","type":"page","link":"https:\/\/computerscienced.co.uk\/site\/binary\/binary-to-denary\/how-to-binary-to-denary-conversion\/","title":{"rendered":"How to &#8211; Binary to Denary Conversion"},"content":{"rendered":"\n<p>Converting binary into decimal (denary) is very simple and can be done by simply remembering the following numbers:<\/p>\n\n\n\n<p><strong>128, 64, 32, 16, 8, 4, 2, 1<\/strong><br><\/p>\n\n\n\n<p><strong>Have you noticed anything about these numbers? <\/strong><\/p>\n\n\n\n<p>From right to left they are doubling every time! <\/p>\n\n\n\n<p><strong>So why do we need to remember these numbers?<\/strong><\/p>\n\n\n\n<p>Let me show you with 2 examples. <\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Example<\/strong> <strong>1.<\/strong> <\/h2>\n\n\n\n<p>Convert 10001101 into denary.<\/p>\n\n\n\n<p>All we need to do to convert this binary number is draw out a table.&nbsp; Put the numbers, 128, 64, 32 etc from above into the top row and our binary number into the bottom row:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>128<\/strong><\/td><td><strong>64<\/strong><\/td><td><strong>32<\/strong><\/td><td><strong>16<\/strong><\/td><td><strong>8<\/strong><\/td><td><strong>4<\/strong><\/td><td><strong>2<\/strong><\/td><td><strong>1<\/strong><\/td><\/tr><tr><td>1<\/td><td>0<\/td><td>0<\/td><td>0<\/td><td>1<\/td><td>1<\/td><td>0<\/td><td>1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>All we need to do is add up all the numbers on the top row if there is a 1 underneath it:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>128<\/strong><\/td><td><strong>64<\/strong><\/td><td><strong>32<\/strong><\/td><td><strong>16<\/strong><\/td><td><strong>8<\/strong><\/td><td><strong>4<\/strong><\/td><td><strong>2<\/strong><\/td><td><strong>1<\/strong><\/td><\/tr><tr><td>1<\/td><td>0<\/td><td>0<\/td><td>0<\/td><td>1<\/td><td>1<\/td><td>0<\/td><td>1<\/td><\/tr><tr><td><strong>128 +<\/strong><\/td><td><strong>0<\/strong><\/td><td><strong>0<\/strong><\/td><td><strong>0<\/strong><\/td><td><strong>8 +<\/strong><\/td><td><strong>4 +<\/strong><\/td><td><strong>0<\/strong><\/td><td><strong>1<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>We work out 128 + 8 + 4 + 1 = <strong>141<\/strong><\/p>\n\n\n\n<p class=\"has-border-background-color has-background\"><strong>The binary number 10001101 = 141 in denary.&nbsp;<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Example 2.<\/strong> <\/h2>\n\n\n\n<p>Convert 10101010 into decimal.\u00a0<\/p>\n\n\n\n<p>We draw out our table and put the binary number underneath it.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>128<\/strong><\/td><td><strong>64<\/strong><\/td><td><strong>32<\/strong><\/td><td><strong>16<\/strong><\/td><td><strong>8<\/strong><\/td><td><strong>4<\/strong><\/td><td><strong>2<\/strong><\/td><td><strong>1<\/strong><\/td><\/tr><tr><td>1<\/td><td>0<\/td><td>1<\/td><td>0<\/td><td>1<\/td><td>0<\/td><td>1<\/td><td>0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>We then add up all the numbers on the top row if there is a 1 underneath it:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>128<\/strong><\/td><td><strong>64<\/strong><\/td><td><strong>32<\/strong><\/td><td><strong>16<\/strong><\/td><td><strong>8<\/strong><\/td><td><strong>4<\/strong><\/td><td><strong>2<\/strong><\/td><td><strong>1<\/strong><\/td><\/tr><tr><td>1<\/td><td>0<\/td><td>1<\/td><td>0<\/td><td>1<\/td><td>0<\/td><td>1<\/td><td>0<\/td><\/tr><tr><td><strong>128 +<\/strong><\/td><td><strong>0<\/strong><\/td><td><strong>32 +<\/strong><\/td><td><strong>0<\/strong><\/td><td><strong>8 +<\/strong><\/td><td><strong>0<\/strong><\/td><td><strong>2 <\/strong><\/td><td><strong>0<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>We work out 128 + 32 + 8 + 2 = 170<\/p>\n\n\n\n<p class=\"has-border-background-color has-background\"><strong>The binary number 10101010 = 170 in decimal.&nbsp; &nbsp;<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Do I have to remember how to do this for an exam?<\/h2>\n\n\n\n<p>Yes absolutely!  Conversions are a favourite question in exams and are some really easy marks.  For GCSE, you will be expected to convert up to 8 digits of binary (exactly what you have been shown here).  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Converting binary into decimal (denary) is very simple and can be done by simply remembering the following numbers: 128, 64,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2739,"parent":859,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"disable_featured_image":true,"footnotes":""},"class_list":["post-1558","page","type-page","status-publish","has-post-thumbnail","hentry"],"blog_post_layout_featured_media_urls":{"thumbnail":["https:\/\/computerscienced.co.uk\/site\/wp-content\/uploads\/2021\/10\/undraw_Share_opinion_re_4qk7.svg",150,150,true],"full":["https:\/\/computerscienced.co.uk\/site\/wp-content\/uploads\/2021\/10\/undraw_Share_opinion_re_4qk7.svg",965,727,false]},"categories_names":null,"comments_number":"0","_links":{"self":[{"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages\/1558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/comments?post=1558"}],"version-history":[{"count":3,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages\/1558\/revisions"}],"predecessor-version":[{"id":6140,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages\/1558\/revisions\/6140"}],"up":[{"embeddable":true,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages\/859"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/media\/2739"}],"wp:attachment":[{"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/media?parent=1558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}