Evaluate unit-aware arithmetic and conversions such as "5 km / 2 h to m/s" with
Evaluate unit-aware arithmetic and conversions such as "5 km / 2 h to m/s" with strict dimension checking. Uses the mathjs unit system (SI and common imperial units, prefixes, derived units) to evaluate an expression or convert a value from one unit to another. Incompatible dimensions are rejected instead of silently converted. Expression functions that could alter the evaluator (import, createUnit, evaluate, parse, simplify, derivative) are disabled.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
897 msmedian answer time
$0.003listed price per call
$0.003price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://code.halowerk.com/v1/units-calc
| Category | Code and developer |
|---|---|
| Provider host | code.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.003 | 904 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 903 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 897 ms |
| 2026-11-23 | valid payment request | 402 | $0.003 | 880 ms |
| 2026-11-22 | valid payment request | 402 | $0.003 | 899 ms |
| 2026-11-21 | valid payment request | 402 | $0.003 | 876 ms |
| 2026-11-20 | valid payment request | 402 | $0.003 | 890 ms |
Example input (from the provider)
{
"body": {
"expression": "5 km / 2 h to m/s"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"expression": {
"description": "e.g. \"5 km / 2 h to m/s\" or \"3 ft + 20 cm to cm\"",
"maxLength": 500,
"minLength": 1,
"type": "string"
},
"from": {
"maxLength": 60,
"type": "string"
},
"precision": {
"default": 10,
"maximum": 15,
"minimum": 1,
"type": "integer"
},
"to": {
"maxLength": 60,
"type": "string"
},
"value": {
"type": "number"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}