Back

What is Endianness?

Understanding how computers store data.

15 January 2026

The basics: What is endianness?

Endianness refers to how computers store multi-byte data — like integers — in memory. Take the hexadecimal number 0x12345678. It’s made up of four bytes, but the question is: which byte gets stored first?

  • Big-endian systems are the posh, logical ones. They store the most significant byte first — so the bytes go in this order: 0x12, then 0x34, 0x56, and finally 0x78. This matches how humans naturally read numbers, from left to right.
  • Little-endian systems, on the other hand, store the least significant byte first — so it’s 0x78, then 0x56, 0x34, and 0x12. This upside-down ordering was popularised by Intel processors and dominates in personal computers today.

Why do both big-endian and little-endian exist?

The story dates back to the 1980s, when different CPU designers chose different conventions — much like the infamous “egg war” from Jonathan Swift’s Gulliver’s Travels, where two factions fought over which end of an egg to crack: the big end or the little end. The term “endianness” actually comes from this satirical tale — proof that some computing disputes are centuries old!

  • Big-endian is commonly used in networking protocols, making data transmission more predictable.
  • Little-endian is widespread in everyday computing, especially on Intel and compatible processors.
  • Some processors, like ARM, can switch between both — like a chameleon adapting its colours.

Is one better than the other?

Not really. Endianness is just a convention — similar to whether we drive on the left or right side of the road. The trouble only comes when data is shared between systems using different conventions, leading to potential confusion (and program crashes).

So next time your code glitches because bytes are in the wrong order, blame it on the great egg war of computing history!

Want to dive deeper into how computers work behind the scenes?

Watch the full video to explore endianness and more fascinating computer science concepts. 

For more Lesson Hacker videos, check out the Craig’n’Dave YouTube playlist HERE.

Be sure to visit our website for more insights into the world of technology and the best teaching resources for computer science and business studies.

Stay informed, stay curious!

Related posts

Cambridge OCR: Supporting Teachers, Inspiring Students & at this year’s Festival of Computing

Cambridge OCR, a leader in UK Computing education, is sponsoring this year’s Festival of Computing —bringing expert insight, CPD, and a passion for supporting teachers. Discover how they’re shaping the future of qualifications and why you won’t want to miss connecting with them at the event.

15 May 2026

Would we do it again?

As May edges closer to its final days, many teachers find themselves staring at the same date every year: 31 […]

8 May 2026

AQA at the Festival of Computing 2026

AQA, the UK’s largest exam board and education charity, joins the Craig’n’Dave Festival of Computing 2026 as Headline Sponsor, bringing expert insight, CPD sessions and curriculum expertise to support secondary Computer Science teachers.

7 May 2026

How a GCSE in computer science can shape your students’ future careers

A GCSE in Computer Science isn’t just a qualification—it’s a launchpad to exciting careers in tech, from gaming and robotics to cyber security and AI.
By connecting classroom learning to real-world pathways, teachers can inspire students to see the true value and future potential of their skills.

1 May 2026

How a GCSE in Computer Science can shape your future career

A GCSE in Computer Science opens the door to careers in gaming, robotics, cyber security, and beyond.
Discover how this subject can lead to exciting degrees and future opportunities in the tech world.

29 April 2026

Do we need government AI copyright laws?

AI is transforming creativity — but are we protecting the people behind the art? We explore the UK’s heated debate over AI copyright laws and what they mean for creators and innovation.

8 April 2026

How Do Map Apps Work?

Discover how your map app uses graph theory and clever algorithms to find the fastest route, even before you spot the traffic jam. It’s the smart tech behind every turn and reroute you trust.

What is Chip Binning?

Chip binning is how manufacturers sort silicon chips based on their performance, turning some into high-speed processors and others into more modest models. It’s like baking cookies—some come out perfect, others just good enough.

Meet Dodona: A powerful coding platform built for real classrooms

Discover how Dodona is transforming programming lessons with a powerful, classroom-ready platform built by educators. With the integration of Time2Code, it’s never been easier to deliver engaging, structured coding lessons while saving time and reducing hassle.