TL;DR. Azure IoT Hub pricing is a flat fee per unit for a daily message quota, so for a plant the hub is the small line: the cost sits in storage and Azure Data Explorer. For a hypothetical plant with 2,000 sensor tags read once a second, the raw readings add 518.4 GB a month. Kept in Hot blob storage they cost $388 a month by month 36, and a two-node ADX engine costs at least $531 a month from the first day. A lifecycle rule holds the same blobs for $43. The hub is a design choice made once: with 36 readings per message it stays at $250 a month, against $2,500 for one message per reading.

Azure IoT Hub pricing is one of three lines in a plant's sensor data bill on Azure: the storage account that keeps the readings, the Azure Data Explorer (ADX) cluster that answers queries on them, and the IoT Hub that lets them in. Storage grows every month that no retention rule runs. ADX is sized by how much history you keep hot. The hub is fixed by how the plant gateway packs readings, and then it stays flat.

Every price below is an East US list price from the Azure Retail Prices API, read on October 28, 2026 and re-checked unchanged on November 10, 2026. The plant is invented so the arithmetic can be checked line by line: use it to test your own design, not as a measurement of a running site.

IoT Hub sells daily message quotas, metered in 4 KB blocks

TierPrice per unit per monthMessages per day per unitMetered in
B1 / S1$10 / $25400,0004 KB blocks
B2 / S2$50 / $2506,000,0004 KB blocks
B3 / S3$500 / $2,500300,000,0004 KB blocks

Prices from the retail price API, East US; quotas and meter sizes from Microsoft's IoT Hub pricing page. Both read November 10, 2026. The Free edition allows 8,000 messages a day, metered in 0.5 KB blocks, and up to 500 device identities, for proofs of concept. On AWS, IoT Core bills per million messages and meters them in 5 KB increments; AWS IoT Core pricing works through that bill.

Four rules decide the bill:

  1. Messages count in 4 KB blocks. Microsoft's billing guide: "a 100-byte message is charged as one message, and a 6-KB message is charged as two messages." Device-to-cloud messages are charged "on ingress into IoT Hub."
  2. Twins and methods use the same quota. Twin reads, twin updates and direct methods are all charged as messages in 4 KB chunks, on the same daily allowance.
  3. The quota is per UTC day. Past it, requests fail with 403002 IotHubQuotaExceeded until you "increase the number of units on the IoT hub or wait for the next UTC day for the daily quota to refresh."
  4. Basic is cheaper but one-way. Basic tiers lack cloud-to-device messages, device twins and IoT Edge, per the pricing page. A plant gateway running IoT Edge needs Standard.

Units scale in steps: up to 200 units of size 1 or 2, or 10 of size 3, per Microsoft's sizing guide.

The plant: 2,000 tags at 1 Hz write 518.4 GB a month

Take one production site with 2,000 sensor tags (bearing temperatures, line pressures, drive currents, flows), sampled every second through one IoT Edge gateway. Each reading is a 100-byte JSON record. That is 2,000 x 86,400 = 172.8 million readings a day, 17.28 GB of payload a day and 518.4 GB a month.

Every month of history adds that amount again to whatever holds it. The question for a data lead is where it sits and who pays to keep it there.

Storage and ADX carry the data cost; the hub stays flat

A common Azure path: an IoT Hub route writes the readings to Blob Storage or ADLS Gen2 (Avro by default, JSON if set, per the endpoints guide), and ADX ingests them for queries and dashboards. At East US list price:

LineArithmeticPer month
ADX engine, two-node floor2 nodes x 730 h x ($0.144 E2d v5 Linux VM + 2 vCores x $0.11 markup)$531.44
Hot blob, month 126,220.8 GB x $0.0208$129.39
Hot blob, month 3618,662.4 GB x $0.0208$388.18
IoT Hub, batched (sized below)1 x S2$250

Sources: Blob Storage and E2d v5 in the retail price API, and the ADX pricing page, whose own example bills "8 instances x 8 vCores/instance x $0.11/vCore". A production ADX cluster has "at least two nodes for the engine cluster and at least two nodes for the data management cluster"; the floor above leaves out the data management nodes, ADX storage and networking.

A line chart of 36 months of monthly cost for an invented plant with 2,000 tags at 1 Hz, readings batched 36 per message. IoT Hub on one S2 unit stays flat at $250. A two-node Azure Data Explorer engine floor stays flat at $531. Keeping every raw reading in Hot blob storage grows by about $10.78 each month, passes the hub at $259 in month 24 and reaches $388 in month 36. A lifecycle rule that moves readings to Cool after 30 days and Archive after 90 days holds the same data for $43 in month 36. One message per reading instead would need an S3 unit at $2,500 a month.

ADX is the largest line from month 1, and Hot blob is the only one that grows. The engine floor costs $531 whether anyone queries the table or not. The blob line adds about $10.78 a month because nothing moves old readings out of Hot, and it passes the hub in month 24. At month 36 the plant pays $1,170 a month, and the hub is 21% of it.

Two Azure defaults make the curve steeper than this model

  • ADX keeps what it ingests. A new ADX table has no retention policy, and the default policy object, once applied, is a soft-delete period of "1,000 years".
  • A route has no notion of age. It writes blobs; nothing ages them until a lifecycle rule exists, so the Hot line above is what an untouched storage account looks like.

The rest of the growth is not specific to Azure: 1 Hz kept on signals that change over minutes, and one signal held in a site historian, in blob and in ADX at once. Both multipliers are measured in the Industry 4.0 data explosion; here they only need a price.

Cut storage with a lifecycle rule and ADX with a shorter hot cache

Move old blobs to Cool, then Archive. Microsoft's lifecycle example moves blobs to Cool after 30 days and Archive after 90:

{
  "rules": [
    {
      "name": "telemetryAging",
      "enabled": true,
      "type": "Lifecycle",
      "definition": {
        "filters": { "blobTypes": [ "blockBlob" ], "prefixMatch": [ "telemetry/" ] },
        "actions": {
          "baseBlob": {
            "tierToCool": { "daysAfterModificationGreaterThan": 30 },
            "tierToArchive": { "daysAfterModificationGreaterThan": 90 }
          }
        }
      }
    }
  ]
}

At $0.0152 per GB for Cool and $0.00099 for Archive, month 36 drops from $388 to $43. Archive is offline: Microsoft describes it as "on the order of hours" to read back, with a 180-day minimum (access tiers). Cool has a 30-day minimum, and deleting earlier is charged pro rata.

Shorten the ADX hot cache and set retention. ADX keeps hot data "in local SSD storage", so the cache window decides how many engine nodes the cluster needs. Set both on the telemetry table:

.alter table PlantTelemetry policy caching hot = 30d

.alter-merge table PlantTelemetry policy retention softdelete = 365d

Aggregate the tags nobody reads at full rate. A one-minute min, max and mean per tag cuts the stored volume to 8.64 GB a month. Keep 1 Hz only where someone analyses the raw signal, such as vibration on critical motors.

Pack 36 readings per message: the hub drops from $2,500 to $250

Gateway designMessages a dayCheapest Standard hubPer month
One message per reading172,800,0001 x S3 (58% of quota)$2,500
36 readings per message (3.6 KB)4,800,0001 x S2 (80% of quota)$250
1-minute min, max and mean per tag, 36 per message80,0001 x S1 (20% of quota)$25

One message per reading cannot run on S1 at all: it would need 432 units, over the 200 cap. On S2 it takes 29 units, $7,250. Microsoft's own Example #3 shows the effect at small scale: 40 reads of 100 bytes cost 40 messages sent one by one, or one message batched. With one message per reading, the hub would be 73% of a $3,420 month-36 bill instead of 21% of $1,170.

The throttle agrees. S1 accepts the "higher of 100 send operations/sec or 12 send operations/sec/unit," S2 120 per second per unit, per the quotas page. One message per reading is 2,000 sends a second; the batched design is about 56. Batching costs a few seconds of latency per batch.

The batched design has a cliff. At 80% of one S2 unit, 500 more tags at 1 Hz bring the plant to exactly 6,000,000 messages a day. The next tag past that means a second unit, and the hub bill doubles to $500.

Leave headroom in each batch (here, about 500 bytes): for messages "which have properties and body," Microsoft computes the size over both, so a 4 KB body plus properties spills into a second block.

Check quota use and ADX readers before you resize anything

Size the hub against the daily peak of dailyMessageQuotaUsed ("Number of total messages used today"):

az monitor metrics list --resource <iot-hub-resource-id> \
  --metrics dailyMessageQuotaUsed --aggregation Maximum \
  --interval 24h --offset 30d

Add d2c.telemetry.ingress.sendThrottle (throttling errors) to see whether the hub is short of capacity, and d2c.endpoints.egress.storage.bytes to see how many bytes routing writes to storage each day. A daily peak well under one unit's quota for a month means a unit you pay for and do not use.

For storage and ADX, the question is who queries the readings. In ADX, .show queries lists completed queries with their text and user; a Database Admin or Database Monitor sees everyone's:

.show queries
| where Text has "PlantTelemetry"
| summarize queries = count(), last_query = max(StartedOn) by User, Application

If the only caller is a dashboard service account, the table needs one-minute aggregates, not three years of 1 Hz data in the hot cache.

The counterargument: raw readings are cheap insurance

A quality engineer tracing a defect, or a team training a model, may need the 1 Hz signal from two years ago, and a deleted reading cannot be rebuilt. Next to that risk, $388 a month looks like a small premium.

The argument is right about keeping the readings and wrong about where. The lifecycle rule above keeps all 18.7 TB for $43 a month, at the price of an hours-long read-back from Archive. Raw history costs money in the ADX hot cache and in Hot blob, not in Archive. Nor does the insurance case justify three paid copies of one signal; it argues for one cold copy with a named owner.

Limits of this model

  • Prices are East US list prices, read October 28, 2026 and re-checked November 10, 2026. Reservations, enterprise agreements and other regions move every row.
  • No real plant is behind it. Tag counts, sample rates and the 100-byte JSON record are assumptions, and Avro or JSON encoding in storage adds overhead on top of the payload.
  • The ADX figure is a floor. It leaves out the data management nodes, ADX's own storage, networking, and any scale-out a long hot cache would force. Microsoft's cost estimator sizes a real cluster.
  • Storage is billed on data held at month end, with no read, write or rehydration costs. Reading archived data back is charged separately.
  • Not covered: Device Provisioning Service, Event Hubs as a custom endpoint, Microsoft Fabric and Azure IoT Operations.

Waste that no team owns, across the whole data platform, is covered in cloud waste in data infrastructure.

Where Datapace fits

On Azure, one plant's readings are paid for in at least three resources (an IoT hub, a storage account, an ADX cluster), often beside an on-site historian, and no invoice line shows which readings someone queries. Datapace is building one map of your data estate (databases, warehouses, pipelines and what consumes them) with usage and cost attached, and agents that propose changes your team approves. For what it costs to move the readings further, into a lake or a warehouse, read data pipeline cost.

Sources

  1. Microsoft, Azure Retail Prices API: IoT Hub, East US, Blob Storage, East US and E2d v5, East US.
  2. Microsoft, Azure IoT Hub pricing and Azure Data Explorer pricing.
  3. Microsoft Learn, Azure IoT Hub billing information, IoT Hub quotas and throttling, Choose the right IoT Hub tier and size, IoT Hub endpoints, Troubleshoot IoT Hub error codes and Monitoring data reference.
  4. Microsoft Learn, Access tiers for blob data and Lifecycle policies for access tiers.
  5. Microsoft Learn, Select a SKU for your Azure Data Explorer cluster, Retention policy, Caching policy, .show queries and Cost estimator.
  6. Microsoft Learn, az monitor metrics.