Computing, IT, Networking & Security Cloud, Capacity Planning & Cost 730-hour month convention (8,760 ÷ 12)

Cloud VM Monthly Cost Calculator

Cloud instances are quoted by the hour and budgeted by the month, and the conversion hides two traps. The first is that a month is 730 hours by the convention every major provider uses — 8,760 ÷ 12 — not 720 or 744. The second is that a reservation is billed for every hour of its term whether the instance runs or not, so a discount of 60% on the hourly rate saves nothing at all if you only run the machine on weekday mornings. This calculator prices on-demand, reserved and spot side by side, adds storage and egress, and reports the monthly running hours at which a reservation starts to pay.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
On-demand hourly rateThe published per-hour price for one instance of the size you want, from the provider's pricing page for your region.0.096 $
Number of instancesHow many identical instances you will run.4
Running hours per month730 for always-on; 521 for 24×5; 261 for 12 hours on weekdays. The reference table below lists the common schedules.730 h
Attached block storageTotal provisioned volume size per instance set; block storage is billed on what you provision, not what you use.200 GB
Storage pricePer gigabyte-month for the volume type you chose; general-purpose SSD is the usual default tier.0.08 $/GB-mo
Outbound data transferData leaving the provider's network per month; traffic between zones and regions is usually billed separately again.500 GB
Egress pricePer gigabyte for outbound internet transfer in your region, after any free allowance.0.09 $/GB
Reserved hourly rateThe ongoing hourly charge under the reservation; zero for an all-upfront reservation.0.034 $
Upfront payment per instanceOne-off payment at purchase; enter 0 for a no-upfront reservation.300 $
Reservation termThe commitment length; the upfront payment is amortised across it at 730 hours a month.1 year (12 months)
Spot discount vs on-demandTypical spot or pre-emptible saving for your instance family and region; check the provider's spot price history rather than assuming.70 %

It returns

  • On-demand monthly cost — Compute at your running hours, plus storage and egress.
  • Reserved monthly cost
  • Spot monthly cost
  • Reserved vs on-demand, per month
  • Reserved saving
  • On-demand annual cost
  • Break-even running hours per month
  • All-in cost per instance-hour

The formula

C=rhN+S+E
hbe=rres730r

In plain text: monthly = rate × hours × instances + storage + egress; reserved_eff = hourly + upfront ÷ (term × 730)

  • rOn-demand hourly rate for one instance ($/h)
  • hRunning hours in the month (hours)
  • NNumber of instances (count)
  • SBlock storage cost: provisioned GB × price per GB-month ($)
  • EOutbound data transfer cost ($)
  • 730Hours in an average month: 8,760 ÷ 12 (hours)

A reservation is charged for all 730 hours of every month in its term, so its monthly cost does not depend on your running hours. That asymmetry is what makes break-even a meaningful number.

Updated Category Cloud, Capacity Planning & Cost Verified against published test cases Reading time 11 min

Why 730 hours, and why the month you assume matters

Every major cloud provider quotes compute by the hour or the second and bills monthly, so somewhere a conversion happens. The convention is 730 hours: 365 days × 24 hours ÷ 12 months = 730. It is not the length of any actual month — February has 672 or 696, and a 31-day month has 744 — but it is the figure providers use for reservation amortisation and the one you should use for budgeting, because it averages out over a year.

Using 720 instead, which is the tempting round number, understates an always-on instance by 1.4%. On a $50,000 monthly compute bill that is $700 a month, or $8,400 a year, which is enough to matter in a forecast.

The compute line is only part of the bill. Block storage is charged on provisioned capacity, not used capacity, and it keeps charging when the instance is stopped — which is why a fleet of stopped development instances still generates an invoice. Outbound data transfer is charged per gigabyte leaving the provider's network, and on content-heavy workloads it can exceed the compute cost outright. Traffic between availability zones and between regions carries its own separate rate.

This calculator prices those three components across three purchasing models, because the right question is rarely “what does this instance cost?” It is “which way of buying this instance costs least, given how much of the month I actually need it?”

The three purchasing models and where each one wins

On-demand is the simplest: rate × running hours × instance count. You pay for what you consume, per second or per hour depending on the provider and the operating system, and you can stop at any moment. It is the most expensive per hour and the only model with no commitment.

Reserved instances — and their cousins, savings plans and committed-use discounts — trade flexibility for a lower rate. You commit to a term, usually one or three years, and you may pay some or all of it upfront. The effective hourly rate is the ongoing hourly charge plus the upfront payment amortised across the term: upfront ÷ (term months × 730).

The critical property, and the one this calculator exists to make visible, is that a reservation bills for all 730 hours of every month whether the instance runs or not. Turning a reserved instance off saves you nothing. So the comparison against on-demand is not a comparison of hourly rates; it is a comparison of a fixed monthly charge against a variable one. Setting them equal gives the break-even: h = effective reserved rate × 730 ÷ on-demand rate. Below that many running hours, on-demand is cheaper despite its higher headline rate.

Spot (AWS), pre-emptible (Google) and spot (Azure) capacity sells the provider's spare inventory at a large discount, with the condition that it can be reclaimed at short notice. Pricing is rate × (1 − discount) × running hours, and the discount varies continuously by instance family, region and availability zone. Spot is not a cheaper version of on-demand: it is a different product with an interruption model, and it only fits workloads that can checkpoint, retry or drain.

Storage and egress are the same in all three columns, which is why a bill dominated by them barely moves when you change purchasing model. When that is the case, the calculator flags it, because the effort is better spent on volume right-sizing and on a CDN than on reservation strategy.

Worked example: four instances, always on, with a one-year reservation

You run four instances at $0.096 an hour on demand. Each set carries 200 GB of general-purpose SSD at $0.08 per GB-month and the application pushes 500 GB of egress at $0.09 per GB. A one-year reservation quotes $300 upfront per instance plus $0.034 an hour.

  1. On-demand compute. $0.096 × 730 h × 4 = $280.32 a month.
  2. Storage. 200 × $0.08 = $16.00.
  3. Egress. 500 × $0.09 = $45.00.
  4. On-demand total. 280.32 + 16.00 + 45.00 = $341.32 a month, or $4,095.84 a year.
  5. Amortise the upfront. $300 ÷ (12 × 730) = $300 ÷ 8,760 = $0.034247 per hour.
  6. Effective reserved rate. $0.034 + $0.034247 = $0.068247 per hour.
  7. Reserved compute. $0.068247 × 730 × 4 = $199.28 a month, billed regardless of running hours.
  8. Reserved total. 199.28 + 16.00 + 45.00 = $260.28, saving $81.04 a month or 23.7% of the on-demand total.
  9. Break-even. $0.068247 × 730 ÷ $0.096 = 519 hours a month, which is 71% of the month.
  10. Spot. At a 70% discount the rate is $0.0288: $0.0288 × 730 × 4 = $84.10 of compute, for a total of $145.10.

Read step 9 carefully, because it changes the decision. The reservation is worthwhile at 730 running hours. At a 24×5 schedule of 521 hours it is marginal — on-demand compute would be $0.096 × 521 × 4 = $200.06 against the reservation's fixed $199.28, essentially a tie. At a 12×5 schedule of 261 hours, on-demand compute is $100.22 and the reservation still charges $199.28, so committing would nearly double the compute bill. The saving percentage on the headline rate is 29%, but the saving you actually realise depends entirely on utilisation.

Note also that the saving is 23.7% of the total but 28.9% of the compute, because storage and egress are identical in both columns. Quoting the compute-only percentage to a budget holder overstates what the invoice will do.

How to read the result

Compare the break-even hours against your real schedule, not your intended one. Development and test fleets almost never run the hours their owners assume. Pull actual instance-hours from the provider's cost explorer for the last three months before committing to a term.

A negative reserved saving is not an error. It means the reservation costs more than on-demand at your running hours, which is the expected outcome for any workload below break-even. The calculator reports the sign honestly rather than hiding it, because this is the single most common way cloud commitments waste money.

The all-in cost per instance-hour is the number to benchmark with. It includes storage and egress spread across the hours you actually run, so it is directly comparable against a dedicated server or a competing provider's quote in a way that the compute rate alone is not.

Check what fraction of the bill is compute at all. If storage and egress exceed 40% of the total, reservation strategy is a second-order lever. Right-sizing volumes, deleting orphaned snapshots and putting a CDN in front of static content will move the invoice further.

Spot is a different risk profile, not a discount. Treat the spot column as the cost of the workloads you can architect for interruption, and price the rest with the other two columns.

Running hours per month for common schedules

All figures use the 730-hour month. The saving column is against always-on and applies to on-demand compute only — storage keeps billing while an instance is stopped.
ScheduleHours per monthShare of always-onCompute saving vs always-on
24 × 7 (always on)730100%0%
24 × 5 (weekdays only)52171.4%28.6%
16 × 748766.7%33.3%
12 × 736550.0%50.0%
12 × 526135.7%64.3%
10 × 521729.8%70.2%
8 × 5 (office hours)17423.8%76.2%
Weekends only, 24 h20928.6%71.4%

Weekday schedules are 730 × (hours per day ÷ 24) × (5 ÷ 7). A stopped instance still incurs block-storage and elastic-IP charges, so the realised saving on the whole bill is smaller than the compute saving shown here.

A reservation is a financial commitment, not a technical setting

Reserved instances and committed-use discounts are contracts. If you shut the workload down, migrate it to a different instance family, or move region, you keep paying unless the reservation is convertible or resellable — and the resale market only exists on some providers, for some reservation types, at whatever price a buyer will pay. Savings plans and flexible commitments reduce this risk by committing to a dollar amount per hour rather than to a specific instance type, usually at a slightly smaller discount. Match the commitment length to your confidence in the workload, not to the largest discount on offer.

What this calculator does not include

  • Licensing. Windows, SQL Server, RHEL and commercial database licences are billed on top of the compute rate and can exceed it. Bring-your-own-licence terms differ by provider.
  • Inter-zone and inter-region transfer. Only internet egress is priced here. Cross-zone traffic inside a region carries its own per-gigabyte charge on most providers and surprises a lot of multi-AZ designs.
  • Managed services around the instance. Load balancers, NAT gateways, snapshots, backups, monitoring and log ingestion are separate line items, and NAT gateway data-processing charges in particular are a well-known source of unexpected spend.
  • IOPS and throughput provisioning. Higher-performance volume types charge for provisioned IOPS and throughput separately from capacity.
  • Free tiers, private pricing and enterprise discounts. Negotiated rates and committed-spend agreements override list prices entirely.
  • Sustained-use discounts. Some providers apply an automatic discount as monthly usage rises, with no commitment at all — worth checking before buying a reservation.

Getting the input numbers right

The hourly rate is easy to find and easy to get wrong, because it varies by region, by operating system and by tenancy. Take it from the provider's own pricing page for the exact region you will deploy in; the difference between regions for the same instance size is routinely 10–30%, and it is the single cheapest optimisation available if your workload has no data-residency constraint.

Running hours should come from measurement. Every provider's cost tooling reports instance-hours by tag and by resource, and three months of history tells you what your schedule really is. If the answer is close to 730 for a fleet that was supposed to be office-hours only, an automated start-stop schedule will save more than any pricing model.

Egress is the number people forget entirely, and it is the one that scales with success. Estimate it from your traffic: bytes served per month equals requests times average response size. If you serve media, put a CDN in front — CDN egress is normally cheaper per gigabyte than origin egress, and the cache absorbs most of the requests. Converting between the transfer rate your monitoring reports and the monthly volume your invoice charges for is exactly what the Mbps to MB/s converter does.

Two neighbouring calculations complete the picture. If part of your spend is an AI feature calling a hosted model, that line is priced per token rather than per hour — the LLM API token cost calculator handles it. And if you are deciding whether to keep storage on-premises instead, compare the cloud figure against the drive purchase in the RAID capacity calculator, remembering that the cloud price includes replication, power, cooling and replacement that your own array does not. Availability commitments are worth checking too: the MTBF and availability calculator turns a provider's SLA percentage into the outage minutes you are contractually allowed, which is often the deciding factor between a single-zone and a multi-zone design — and multi-zone changes the transfer costs above.

Finally, a note on IP addressing, because it affects cost more than it used to: most providers now charge for public IPv4 addresses whether attached or idle. Sizing your subnets and NAT strategy deliberately — see the hosts per subnet calculator — keeps that line small.

Frequently asked questions

How many hours are in a month for cloud billing?

730, which is 8,760 hours a year divided by 12. Every major provider uses that figure to convert hourly rates into monthly estimates and to amortise reservation upfronts. Actual calendar months range from 672 hours in February to 744 in a 31-day month, and using 720 instead of 730 understates an always-on instance by 1.4%.

When does a reserved instance actually save money?

Only above its break-even running hours, because a reservation is billed for all 730 hours of every month whether the instance runs or not. Break-even is the effective reserved rate × 730 ÷ the on-demand rate. If a reservation cuts the effective rate by 29%, break-even is 71% of the month — about 519 hours — and any schedule below that is cheaper on demand.

How do I calculate the effective hourly rate of a reservation?

Add the ongoing hourly charge to the upfront payment amortised across the term: upfront ÷ (term months × 730). A $300 upfront on a one-year term is $300 ÷ 8,760 = $0.034247 an hour, so with a $0.034 ongoing rate the effective rate is $0.068247. That is the number to compare against the on-demand price.

Is spot pricing safe for production?

For workloads that tolerate interruption, yes; for anything stateful and unreplicated, no. Spot capacity is the provider's spare inventory and can be reclaimed with only a short warning — typically a two-minute notice. It suits batch processing, CI runners, rendering, and stateless web tiers behind a queue or an autoscaling group that mixes spot with on-demand baseline capacity.

Does stopping an instance stop all the charges?

No. Compute charges stop, but attached block storage keeps billing at its full provisioned rate, and on most providers a reserved public IPv4 address that is no longer attached is charged too. Snapshots and backups persist and bill separately. A stopped fleet of development instances with large volumes can still produce a substantial invoice.

Why is my egress bill so large?

Because outbound transfer is priced per gigabyte and scales directly with traffic, while compute does not. Multiply your monthly outbound gigabytes by the per-gigabyte rate and compare against the compute line — on media-heavy or API-heavy workloads egress frequently exceeds it. A CDN in front of static content usually costs less per gigabyte than origin egress and removes most of the requests from the origin entirely.

One-year or three-year reservation?

Three-year terms carry the larger discount and the larger risk. Commit for three years only where the workload, the instance family and the region are all stable — a database that will not be refactored, or a baseline capacity floor the business will not fall below. For anything else, a one-year term or a flexible savings-plan style commitment costs a little more per hour and avoids paying for capacity you have stopped using.

What is a realistic spot discount?

It varies continuously by instance family, region and availability zone, and the only reliable source is the provider's own spot price history for the exact combination you intend to use. Discounts on older or less-popular families are typically much deeper than on the newest generation, and the deepest discounts often come with the highest interruption rates — check both figures, not just the price.

References