Skip to content
MasterMath

Cloud Server Cost Calculator

What a cloud setup costs a month across compute, storage and transfer, and how much you save by reserving instances or switching them off out of hours.

Monthly bill

—

Monthly bill—
Compute—
Storage—
Outbound transfer—
Share taken by transfer—
With reserved instances—
Switched on in working hours only—
A year—

How this was worked out

    The formula

    bill = instances × price/hour × hours + GB × price/GB + billable egress × price/GB

    Where it comes from

    A cloud bill has three lines charged three different ways: compute per hour switched on, storage per gigabyte-month, and transfer per gigabyte leaving to the internet — the one that surprises people, because inbound is usually free and outbound is not. Adding them up is the easy part; what is hard to see without doing the sum is which line dominates, and for a service serving files or video it is usually the transfer, not the machines.

    How to work it out by hand

    1. Compute: instances times price per hour times hours switched on
    2. Storage: gigabytes times price per gigabyte-month
    3. Transfer: subtract the free gigabytes and multiply the rest by its price
    4. Add the three lines

    What is worth knowing

    There are two ways to cut the bill and the page shows both. Reserving instances for one or three years usually takes off between a third and a half, but only from compute: storage and transfer cost the same, so the real saving is smaller than the headline percentage. The other is switching off what is not needed overnight and at weekends: a development environment on only in working hours is 220 hours a month instead of 730, 70 % less compute with no commitment at all. Almost nobody does it, and it is the easiest line to trim.

    Frequently asked questions

    How much does a cloud server cost a month?

    Price per hour times 730 hours, plus storage and transfer. At 0.05 an hour, 36.50 for compute alone.

    Why is transfer so expensive?

    Because outbound to the internet is charged per gigabyte and inbound is not. Serving files or video, it is the biggest line.

    Are reserved instances worth it?

    If they will be on all year, yes. The discount only applies to compute, not the rest.

    And switching them off at night?

    An environment on only in working hours is 220 hours a month instead of 730: 70 % less compute.