Enter the number of units and the size of each unit in bytes into the calculator to determine the memory size. This calculator can also evaluate any of the variables given the others are known.

Memory Size Formula

The following formula is used to calculate the memory size.

MS = N * B

Variables:

  • MS is the memory size (bytes)
  • N is the number of units
  • B is the size of each unit in bytes

To calculate the memory size, multiply the number of units by the size of each unit in bytes. The result will be the total memory size in bytes.

What is a Memory Size?

Memory size refers to the amount of data that a computer or device can store and retrieve. It is typically measured in units like bytes, kilobytes, megabytes, gigabytes, and terabytes. The memory size determines how much information, such as files, documents, images, videos, and applications, can be stored on a device at any given time. Larger memory sizes allow for more data to be stored and accessed, improving the device’s performance and efficiency.

How to Calculate Memory Size?

The following steps outline how to calculate the Memory Size using the formula MS = N * B.


  1. First, determine the number of units (N).
  2. Next, determine the size of each unit in bytes (B).
  3. Next, gather the formula from above = MS = N * B.
  4. Finally, calculate the Memory Size (MS).
  5. After inserting the variables and calculating the result, check your answer with the calculator above.

Example Problem:

Use the following variables as an example problem to test your knowledge.

Number of units (N) = 5

Size of each unit in bytes (B) = 1024