Megabytes and kilobytes

How many bytes are there in one megabyte?
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem



$1$ kilobyte is actually not $1000$ bytes, it is $2^{10}$ bytes.

$1$ megabyte is $2^{10}$ kilobytes.

How many bytes are there in $1$ megabyte?

This problem is adapted from the World Mathematics Championships