{"id":6159,"date":"2023-01-01T23:30:13","date_gmt":"2023-01-01T23:30:13","guid":{"rendered":"https:\/\/computerscienced.co.uk\/site\/?page_id=6159"},"modified":"2023-01-01T23:30:13","modified_gmt":"2023-01-01T23:30:13","slug":"how-to-hexadecimal-to-binary-conversion","status":"publish","type":"page","link":"https:\/\/computerscienced.co.uk\/site\/hexadecimal-conversion\/how-to-hexadecimal-to-binary-conversion\/","title":{"rendered":"How to &#8211; Hexadecimal to Binary Conversion"},"content":{"rendered":"\n<p>Converting hexadecimal into binary is very simple. All we need is to remember that hexadecimal is a base 16 number.\u00a0 This means that each number column can contain 16 characters.\u00a0 Hexadecimal goes from 0 to F:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Decimal Number<\/strong><\/td><td><strong>Binary Number<\/strong><\/td><td><strong>Hexadecimal Number<\/strong><\/td><\/tr><tr><td>0<\/td><td>0000<\/td><td>0<\/td><\/tr><tr><td>1<\/td><td>0001<\/td><td>1<\/td><\/tr><tr><td>2<\/td><td>0010<\/td><td>2<\/td><\/tr><tr><td>3<\/td><td>0011<\/td><td>3<\/td><\/tr><tr><td>4<\/td><td>0100<\/td><td>4<\/td><\/tr><tr><td>5<\/td><td>0101<\/td><td>5<\/td><\/tr><tr><td>6<\/td><td>0110<\/td><td>6<\/td><\/tr><tr><td>7<\/td><td>0111<\/td><td>7<\/td><\/tr><tr><td>8<\/td><td>1000<\/td><td>8<\/td><\/tr><tr><td>9<\/td><td>1001<\/td><td>9<\/td><\/tr><tr><td>10<\/td><td>1010<\/td><td>A<\/td><\/tr><tr><td>11<\/td><td>1011<\/td><td>B<\/td><\/tr><tr><td>12<\/td><td>1100<\/td><td>C<\/td><\/tr><tr><td>13<\/td><td>1101<\/td><td>D<\/td><\/tr><tr><td>14<\/td><td>1110<\/td><td>E<\/td><\/tr><tr><td>15<\/td><td>1111<\/td><td>F<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>EG<\/strong><\/p>\n\n\n\n<p>Using the table &#8211; <strong>7 in hex is 0111 in binary.<\/strong><\/p>\n\n\n\n<p>Using the table &#8211; <strong>A in hex is 1010 in binary<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">2 digit Hexadecimal to Binary Conversion<\/h1>\n\n\n\n<p>In GCSE computer science you will be expected to convert 2 digit hexadecimal into binary.\u00a0 Again we need to remember that hexadecimal is a base 16 number and each number column can go from 0-9 and A-F.\u00a0<\/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\">Example 1<\/h2>\n\n\n\n<p><strong>Convert hexadecimal number A2 into Binary<\/strong><\/p>\n\n\n\n<p>Split the hexadecimal number into a 2 column table.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>A<\/strong><\/td><td><strong>2<\/strong><\/td><\/tr><tr><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Using the table above and our knowledge of binary, we can now convert the individual hexadecimal digits into binary.\u00a0<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>A<\/strong><\/td><td><strong>2<\/strong><\/td><\/tr><tr><td>A = 1010<\/td><td>2 = 0010<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>We now simply combine these 2 nibbles of binary into a byte:<\/p>\n\n\n\n<p class=\"has-border-background-color has-background\"><strong>A2 = 1010 0010 in binary<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Example 2<\/h2>\n\n\n\n<p><strong>Convert hexadecimal number 28 into binary<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>2<\/strong><\/td><td><strong>8<\/strong><\/td><\/tr><tr><td>0010<\/td><td>1000<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"has-border-background-color has-background\"><strong>28 = 0010 1000 in binary<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Converting hexadecimal into binary is very simple. All we need is to remember that hexadecimal is a base 16 number.\u00a0&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2739,"parent":956,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"disable_featured_image":true,"footnotes":""},"class_list":["post-6159","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\/6159","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=6159"}],"version-history":[{"count":1,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages\/6159\/revisions"}],"predecessor-version":[{"id":6160,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages\/6159\/revisions\/6160"}],"up":[{"embeddable":true,"href":"https:\/\/computerscienced.co.uk\/site\/wp-json\/wp\/v2\/pages\/956"}],"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=6159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}