{"uid":"cap_1XH25eCVF3nW_Ok2xzOeH","slug":"unit-and-uncertainty-conversion-2411bfa0","name":"Unit and Uncertainty Conversion","description":"Convert a measurement without losing declared uncertainty: one decimal value and standard uncertainty across supported length, mass, time or temperature units using exact rational scale/offset arithmetic. No unit guessing, physical validation or expanded uncertainty. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.","url":"https://www.mahastrategies.com/api/v1/compute/numerics/unit-uncertainty?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"enum":["m","cm","mm","km","kg","g","s","min","h","K","degC","degF"],"type":"string"},"from":{"enum":["m","cm","mm","km","kg","g","s","min","h","K","degC","degF"],"type":"string"},"value":{"type":"string","maxLength":21},"quantity":{"enum":["absolute","difference"],"type":"string"},"dataClass":{"enum":["public","synthetic"],"type":"string"},"standardUncertainty":{"type":"string","maxLength":21}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.010006","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.010006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.010006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.010006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R87wYgF3mAS68jPb9qRbf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.010006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a scalar measurement value with its standard uncertainty between length, mass, time, or temperature units using exact rational arithmetic, preserving declared uncertainty throughout.","exampleAgentPrompt":"Convert 2.75 kg to grams — the measurement has a standard uncertainty of 0.003 kg — treat it as an absolute quantity using exact arithmetic, and make sure the uncertainty is converted too.","exampleUseCases":[{"title":"Lab measurement unit conversion","prompt":"I have a length measurement of 1500 mm with a standard uncertainty of 0.8 mm that I need converted to meters as an absolute quantity — can you convert both the value and the uncertainty?"},{"title":"Temperature difference propagation","prompt":"Convert a temperature difference of 25.0 degC to Kelvin, the standard uncertainty is 0.15 degC — it's a difference quantity, not absolute, so make sure the offset isn't applied."},{"title":"Time measurement for sensor pipeline","prompt":"I'm processing sensor data — convert 3600 seconds to hours with a standard uncertainty of 1.2 seconds, treating it as an absolute measurement, and give me the converted uncertainty too."}],"resultDescription":"Returns the converted numeric value and its propagated standard uncertainty in the target unit, computed using exact rational scale and offset arithmetic. No physical validation or expanded uncertainty is applied. Results are retained for 24 hours; receipt metadata is retained for 90 days.","failureModes":["Incompatible unit dimensions (e.g. converting length to mass) — API returns an error rather than guessing","Value or uncertainty strings exceeding 21 characters — rejected with validation error","Temperature absolute vs difference mismatch — absolute conversions apply offset, difference conversions do not; selecting wrong quantity type yields incorrect result","Unsupported unit symbol not in the enum — request rejected","Missing required fields (value, from, to) — returns schema validation error"],"whenToPreferThis":"Choose this endpoint when you need exact, reproducible unit conversion that explicitly preserves declared standard uncertainty using rational arithmetic — especially for scientific, engineering, or metrology workflows where uncertainty propagation is mandatory. Prefer this over generic calculators when the measurement has a known standard uncertainty that must be faithfully converted alongside the value, and when you need auditability via retained results. Not suitable for unit guessing, physical plausibility checks, or expanded uncertainty (coverage factor) calculations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:29.783Z","isFirstParty":false,"canonicalSlug":"unit-and-uncertainty-conversion-2411bfa0"}