Skip to content
Stand with Ukraine flag

IoT Calculated Fields

Install ready-made formulas in one click — turn raw telemetry into the metrics you monitor, like fuel efficiency or power factor, without building the logic by hand.

Contribute

14 results

Items per page:

Share Your Calculated Field with the Community

Built a useful data transformation? Export it as a JSON from ThingsBoard and publish it to the IoT Hub. Share it with thousands of ThingsBoard developers worldwide.

Frequently Asked Questions

Calculated fields are server-side data transformations that run automatically when new data arrives. They combine telemetry, attributes, or historical data into derived values, stored as new time series or attributes. Introduced in ThingsBoard 4.0, they simplify logic that previously lived in rule chains.
Available in CE, PE, and Cloud since v4.0. Data reprocessing (historical recalculation) is PE-only. Each library entry displays edition badges and minimum version requirements.
Click Install on the calculated field’s page and pick the target — a device, asset, or device/asset profile — in the install dialog. The field is created on that target and immediately starts computing from live telemetry, saving the result as a new time series key or attribute. You can also download the JSON and import it manually from the Calculated Fields tab.
Yes. Modify title, arguments, expression/script, output config. For Script types, use the built-in Test Function mode to validate with real data before saving.
Six types: Simple (arithmetic expressions), Script (TBEL logic), Geofencing (zone enter/exit detection), Propagation (forwarding values up or down the entity hierarchy), Related Entities Aggregation (rolling up telemetry across related entities), and Entity Aggregation (aggregating across all entities of a profile, e.g. fleet-wide totals).
Simple uses basic arithmetic and standard math functions. Script uses TBEL for complex logic with conditionals, loops, and multi-value output — ideal for tiered pricing, state machines, or custom aggregation.
Yes. Output of one CF can trigger another, enabling multi-step processing pipelines.
Each calculated field is tagged with shared IoT use cases, so browsing by a use case surfaces matching fields, devices, dashboards, and widgets together. Popular use cases for calculated fields include Asset Tracking, Environment Monitoring, Fleet Tracking, Industrial Automation, Predictive Maintenance, Smart Building, and Smart City; the full marketplace vocabulary is searchable in the Use Case filter.
Check the IoT Calculated Field Contribution Guide that describes the process of adding calculation fields. You can also contact iothub@thingsboard.io for help.
All community-contributed CFs are currently free. Licensing terms displayed on each page. Commercial listings may come in a future phase.