Selora Homes Selora Homes Academy

Sizing storage

10 min

You will be able to

  • Work out how much disk a set of cameras fills in a day
  • Work out how many days a disk keeps

Before quoting a job, work out how much footage the disk will hold. A customer who expects a month of recordings and gets four days finds out the day they need a clip from last week.

One Mbps for a day

Everything follows from one number: a stream of 1 Mbps fills 10.8 GB a day.

  • 1 Mbps is 1,000,000 bits a second, so 125,000 bytes (8 bits a byte).
  • A day is 86,400 seconds: 125,000 × 86,400 = 10,800,000,000 bytes.
  • That is 10.8 GB, counting 1 GB as 1,000,000,000 bytes, as disks are sold.

So, for cameras recording around the clock:

For example, 3 cameras at 4 Mbps make 12 Mbps, so 12 × 10.8 = 129.6 GB a day, and two weeks take 129.6 × 14 = 1,814.4 GB: a 2 TB disk, just.

Check yourself New numbers every time

3 cameras record around the clock at 6 Mbps each. How many GB do 5 days of recordings take?

GB
Not graded: try as often as you like.

How many days a disk keeps

Turn it around when the disk is already chosen: divide the disk by the GB per day, and keep the whole days. A recorder deletes the oldest footage when the disk fills, so a part of a day doesn't count.

Check yourself New numbers every time

8 cameras record around the clock at 6 Mbps each, onto a 2000 GB disk. How many whole days of recordings does it keep?

days
Not graded: try as often as you like.

Leave room

The numbers above are the worst case, recording everything. Two things move them:

  • Recording only events (when something is detected) takes far less; how much less depends on how busy the scene is. The Frigate track covers how. Size for continuous recording anyway if the customer may ask for it later.
  • The disk is never all yours. The system, the database and snapshots need space too, and a disk run full slows down. Plan on using about 90% of it for recordings.

Use the bitrate set on the camera, not the one on its box. Check it in the camera's settings, at constant bitrate, after you've set the resolution.

What you read is saved in this browser only. Sign in to keep it in your account, take the quizzes and get certified.

This lesson by Selora Homes is licensed CC BY 4.0 : share and adapt it, even commercially, crediting Selora Homes with a link. Photos by others keep their own licences, as credited.