[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572491-105":53,"doc-detail-572491-en":126},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":119,"head_meta":121,"extra_data":123,"updated_unix":125},105,"en","ipv4-subnet-cheat-sheet-conversion-table-formulas-includes-ipv6-notes","IPv4 Subnet Cheat Sheet - Conversion Table & Formulas - Includes IPv6 Notes","","IPv4 Subnet Cheat Sheet provides a quick reference for CIDR-to-subnet-mask mappings, along with total and usable host counts for many prefix lengths. It also includes RFC 1918 private IP ranges for Class A, B, and C, and supplies key binary bit values used in IPv4 subnetting. Core subnet calculations are summarized with formulas for number of subnets, host counts, and block size. Additional sections cover IPv6 prefix sizes, special IPv6 address types, IPv6 contraction rules, and hexadecimal mappings.",{"@graph":63,"@context":118},[64,80,101],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/ipv4-subnet-cheat-sheet-conversion-table-formulas-includes-ipv6-notes/572491/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/ipv4-subnet-cheat-sheet-conversion-table-formulas-includes-ipv6-notes/572491.png","ImageObject",442,249,{"name":88,"@type":89},"Ivy","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":79},"InteractionCounter",{"@type":100},"ViewAction",{"@type":102,"mainEntity":103},"FAQPage",[104,110,114],{"name":105,"@type":106,"acceptedAnswer":107},"How do you calculate usable host counts from a given IPv4 CIDR prefix?","Question",{"text":108,"@type":109},"Use the mapping in the cheat sheet or apply the rule that hosts equal 2^h − 2, where h is the number of host bits for that subnet.","Answer",{"name":111,"@type":106,"acceptedAnswer":112},"What are the RFC 1918 private IP ranges included in this guide?",{"text":113,"@type":109},"It lists Class A (10.0.0.0/8), Class B (172.16.0.0/12), and Class C (192.168.0.0/16) with their corresponding subnet masks and IP ranges.",{"name":115,"@type":106,"acceptedAnswer":116},"What are the main IPv6 contraction rules summarized here?",{"text":117,"@type":109},"Remove leading zeros, use :: for the longest zero sequence (or leftmost if tied), do not use :: for a single zero group, and write the address in lowercase.","https://schema.org",{"og:url":78,"og:type":120,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":122,"canonical":78},"index,follow",{"doc_id":124,"site_id":56},572491,1792338041,{"code":4,"msg":5,"data":127},{"doc_id":124,"user_id":128,"nickname":88,"user_avatar":129,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":130,"file_id":131,"file_url":132,"file_type":133,"file_size":134,"view_count":79,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":47,"language":135,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":136,"faqs":137,"seo_title":138,"seo_description":61,"update_tm":139,"read_time":73},549758252649,"https://ap-avatar.wpscdn.com/avatar/8000253669c5317157?_k=1778319167496531819","IPv4 Subnet Cheat Sheet  \n\n| CIDR | Subnet Mask | Total IPs | Usable IPs |\n| --- | --- | --- | --- |\n| /32 | [255.255.255.255](255.255.255.255) | 1 | 1 |\n| /31 | [255.255.255.254](255.255.255.254) | 2 | 2* |\n| /30 | [255.255.255.252](255.255.255.252) | 4 | 2 |\n| /29 | [255.255.255.248](255.255.255.248) | 8 | 6 |\n| /28 | [255.255.255.240](255.255.255.240) | 16 | 14 |\n| /27 | [255.255.255.224](255.255.255.224) | 32 | 30 |\n| /26 | [255.255.255.192](255.255.255.192) | 64 | 62 |\n| /25 | [255.255.255.128](255.255.255.128) | 128 | 126 |\n| /24 | [255.255.255.0](255.255.255.0) | 256 | 254 |\n| /23 | [255.255.254.0](255.255.254.0) | 512 | 510 |\n| /22 | [255.255.252.0](255.255.252.0) | 1024 | 1022 |\n| /21 | [255.255.248.0](255.255.248.0) | 2048 | 2046 |\n| /20 | [255.255.240.0](255.255.240.0) | 4096 | 4094 |\n| /19 | [255.255.224.0](255.255.224.0) | 8192 | 8190 |\n| /18 | [255.255.192.0](255.255.192.0) | 16,384 | 16,382 |\n| /17 | [255.255.128.0](255.255.128.0) | 32,768 | 32,766 |\n| /16 | [255.255.0.0](255.255.0.0) | 65,536 | 65,534 |\n| /15 | [255.254.0.0](255.254.0.0) | 131,072 | 131,070 |\n| /14 | [255.252.0.0](255.252.0.0) | 262,144 | 262,142 |\n| /13 | [255.248.0.0](255.248.0.0) | 524,288 | 524,286 |\n| /12 | [255.240.0.0](255.240.0.0) | 1,048,576 | 1,048,574 |\n| /11 | [255.224.0.0](255.224.0.0) | 2,097,152 | 2,097,150 |\n| /10 | [255.192.0.0](255.192.0.0) | 4,194,304 | 4,194,302 |\n| /9 | [255.128.0.0](255.128.0.0) | 8,388,608 | 8,388,606 |\n| /8 | [255.0.0.0](255.0.0.0) | 16,777,216 | 16,777,214 |\n| /7 | [254.0.0.0](254.0.0.0) | 33,554,432 | 33,554,430 |\n| /6 | [252.0.0.0](252.0.0.0) | 67,108,864 | 67,108,862 |\n| /5 | [248.0.0.0](248.0.0.0) | 134,217,728 | 134,217,726 |\n| /4 | [240.0.0.0](240.0.0.0) | 268,435,456 | 268,435,454 |\n| /3 | [224.0.0.0](224.0.0.0) | 536,870,912 | 536,870,910 |\n| /2 | [192.0.0.0](192.0.0.0) | 1,073,741,824 | 1,073,741,822 |\n| /1 | [128.0.0.0](128.0.0.0) | 2,147,483,648 | 2,147,483,646 |\n\nRFC 1918 Private IP ranges  \n\n| Class | Size | Subnet Mask | Range of IPs |\n| --- | --- | --- | --- |\n| Class A | [10.0.0.0/8](10.0.0.0/8) | [255.0.0.0](255.0.0.0) | [10.0.0.0](10.0.0.0)-[10.255.255.255](10.255.255.255) |\n| Class B | [172.16.0.0/12](172.16.0.0/12) | [255.240.0.0](255.240.0.0) | [172.16.0.0](172.16.0.0)-[172.31.255.255](172.31.255.255) |\n| Class C | [192.168.0.0/16](192.168.0.0/16) | [255.255.0.0](255.255.0.0) | [192.168.0.0](192.168.0.0)-[192.168.255.255](192.168.255.255) |\n\nBinary  \n\n| Bit | 1 | 1 | 1 | 1 | 1 | \u003Cbr> 1  1 |  1 |\n| --- | --- | --- | --- | --- | --- | --- | --- |\n| Bit Value | 128 | 64 | 32 | 16 | 8 | \u003Cbr>4 2 |  1 |\n\nIPv4 Subnet Formulas  \nNumber of subnets = 2n, where ‘n’ is the number of borrowed bits. Number of hosts = 2h-2, where ‘h’ is the number of host bits. The block size for a subnet is 256 minus the subnet mask value.  \nOSI and TCP/IP Models  \nIPv6  \n\n| Prefix | /48s | /56s | /64s |\n| --- | --- | --- | --- |\n| /24 | 16M | 4G | 1T |\n| /25 | 8M | 2G | 512G |\n| /26 | 4M | 1G | 256G |\n| /27 | 2M | 512M | 128G |\n| /28 | 1M | 256M | 64G |\n| /29 | 512K | 128M | 32G |\n| /30 | 256K | 64M | 16G |\n| /31 | 128K | 32M | 8G |\n| /32 | 64K | 16M | 4G |\n| /33 | 32K | 8M | 2G |\n| /34 | 16K | 4M | 1G |\n| /35 | 8K | 2M | 512M |\n| /36 | 4K | 1M | 256M |\n| /37 | 2K | 512K | 128M |\n| /38 | 1K | 256K | 64M |\n| /39 | | | |\n| /40 | 256 | 64K | 16M |\n| /41 | 128 | 32K | 8M |\n| /42 | 64 | 16K | 4M |\n| /43 | 32 | 8K | 2M |\n| /44 | 16 | 4K | 1M |\n| /45 | 8 | 2K | 512K |\n| /46 | 4 | 1K | 256K |\n| /47 | 2 | 512 | 128K |\n| /48 | 1 | 256 | 64K |\n| /49 |  | 128 | 32K |\n| /50 |  | 64 | 16K |\n| /51 |  | 32 | 8K |\n| /52 |  | 16 | 4K |\n| /53 |  | 8 | 2K |\n| /54 |  | 4 | 1K |\n| /55 |  | 2 | 512 |\n| /56 |  | 1 | 256 |\n| /57 |  |  | 128 |\n| /58 |  |  | 64 |\n\n\n| Prefix | /48s | /56s | /64s |\n| --- | --- | --- | --- |\n| /59 |  |  | 32 |\n| /60 |  |  | 16 |\n| /61 |  |  | 8 |\n| /62 |  |  | 4 |\n| /63 |  |  | 2 |\n| /64 |  |  | 1 |\n\nIPv6 bit mapping  \nSpecial IPv6 Addresses  \n\n| ::1/128 | Loopback address |\n| --- | --- |\n| ::ffff:0:0/96 | I","cbCaih3JTxiAevbv","https://ap.wps.com/l/cbCaih3JTxiAevbv","pdf",538381,"English","# IPv4 Subnet Reference\n## CIDR to subnet mask and usable hosts\n# RFC 1918 Private IP Ranges\n# Binary and Subnet Formulas\n# IPv6 Overview\n## Prefix sizes (/48 /56 /64)\n## Special IPv6 addresses\n## IPv6 contraction rules\n## Hexadecimal to decimal mapping","[{\"question\":\"How do you calculate usable host counts from a given IPv4 CIDR prefix?\",\"answer\":\"Use the mapping in the cheat sheet or apply the rule that hosts equal 2^h − 2, where h is the number of host bits for that subnet.\"},{\"question\":\"What are the RFC 1918 private IP ranges included in this guide?\",\"answer\":\"It lists Class A (10.0.0.0/8), Class B (172.16.0.0/12), and Class C (192.168.0.0/16) with their corresponding subnet masks and IP ranges.\"},{\"question\":\"What are the main IPv6 contraction rules summarized here?\",\"answer\":\"Remove leading zeros, use :: for the longest zero sequence (or leftmost if tied), do not use :: for a single zero group, and write the address in lowercase.\"}]","IPv4 Subnet Cheat Sheet - Conversion Table & Formulas - Includes IPv6 Notes | PDF",1791927732]