Unit conversion
calc_unit_conversion is a tool of the Drybench MCP server. It runs the same engine and reporting rules as Drybench Calc.
What it answers
Converts between units and returns decimal text at result.converted.decimal with its unit. SI scaling and Celsius–kelvin offsets preserve all digits. Conversions between molar and mass units use your formula weight and round to twelve significant figures. A molar result outside the normal range of a double is refused.
The reply's result carries these fields (each measured number carries its unit, or a withheld notice when a rule applies):
converted(object, required)decimal(string, required)unit(required): One ofkg,g,mg,ug,ng,pg,L,mL,uL,nL,mol,mmol,umol,nmol,pmol,fmol,M,mM,uM,nM,pM,kg/L,g/L,mg/mL,mg/L,ug/mL,ng/uL,ug/L,ng/mL,kg/mol,kDa,g/mol,Da,cm,mm,m^2,cm^2,mm^2,cells,cells/L,cells/mL,cells/uL,cells/cm^2,cells/mm^2,AU,mAU,degC,K.level(string, required)
kind(required): One ofexact,molar,temperature.notes(array of object, optional)id(string, required)text(string, required)
flags(array of object, optional)id(string, required)text(string, required)paths(array of string, required)
Limits:
- The stock, dilution and buffer calculations here are not for dosing or clinical preparation.
- It computes from the inputs it receives. It does not check the person's data, design or sample.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
Research and education software; not for diagnosis or treatment decisions.
Not medical advice. Nothing here is advice about any medicine, treatment or condition, and nothing here is an assessment of any person's variant, sample or molecule. Decisions made with it are yours.
What this page can and cannot show
Weakest level among this tool's methods: Checked against a reference. Reference kind not recorded for 2 of 2 methods.
Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.
Use it on the web: Lab unit converter · Open Drybench Calc · Drybench Calc: methods and checks · What the levels mean · Every assistant tool
Inputs
An omitted input takes the default its description states; the reply's inputsReceived shows what was given. Any input not listed here is refused.
value(string or number, required): Plain decimal text such as '0.0025'. Strings retain all digits and can carry values outside the range of a double. Finite JSON numbers are also accepted.from(string, required): Unit converted from. Units: kg, g, mg, ug, ng, pg, L, mL, uL, nL, mol, mmol, umol, nmol, pmol, fmol, M, mM, uM, nM, pM, kg/L, g/L, mg/mL, mg/L, ug/mL, ng/uL, ug/L, ng/mL, kg/mol, kDa, g/mol, Da, cm, mm, m^2, cm^2, mm^2, cells, cells/L, cells/mL, cells/uL, cells/cm^2, cells/mm^2, AU, mAU, degC, K.to(string, required): Unit converted to, using the same list as from.formulaWeight(number, optional): Formula weight of the exact chemical form, g/mol; required between molar and mass units.
What it withholds or refuses
A refusal, a withheld value or another named status is an answer: the reply gives the reason and no number in its place; an absent value is not zero. Invalid input means nothing ran.
DENSITY: A conversion that needs a density (%, mol/kg, mass to volume). (unit-conversion@1.0.1)NORMALITY: Normality (N). (unit-conversion@1.0.1)ACTIVITY: Activity units (U, IU). (unit-conversion@1.0.1)PPM: ppm or ppb. (unit-conversion@1.0.1)FOLD: A fold change. (unit-conversion@1.0.1)OD: OD600. (unit-conversion@1.0.1)RPM: RPM or × g. (unit-conversion@1.0.1)FORMULA_WEIGHT: A molar bridge needs a positive formula weight. (unit-conversion@1.0.1)INCOMPATIBLE: Units of two different quantities with no bridge. (unit-conversion@1.0.1)UNKNOWN_UNIT: A unit the converter does not list. (unit-conversion@1.0.1)NOT_A_NUMBER: The value is not a plain decimal. (unit-conversion@1.0.1)NEGATIVE: A negative value. (unit-conversion@1.0.1)MAGNITUDE_OUT_OF_RANGE: A nonzero molar bridge result lies outside the normal range of a double. (unit-conversion@1.0.1)BELOW_ABSOLUTE_ZERO: A temperature below 0 K. (temperature-offset@1.0.0)NOT_A_NUMBER: The value is not a plain decimal. (temperature-offset@1.0.0)
How to cite a number from it
Every reply carries a cite line. It names, in order: the tool and the server version; each method the call went through, with its version and level (and the limit beside a level where the method's record narrows it); the receipt, the first 12 characters of the hashes of the arguments and of the result; and the address where its methods are described. Quote it with any number taken from the reply.
The receipt identifies a computation; it is not a signature. It holds no time, so the same arguments on the same server and method versions give the same receipt, and anyone can call the tool again and compare; a later method version can change the output hash.
An example
The values asked and the values answered, computed by this tool when this page was built:
Asked with
value: 2.5from: mg/mLto: mMformulaWeight: 180.2
It answered (computed):
kind: molar
The reply carries more values than are shown here.
Its cite line:
calc_unit_conversion, server 1.0.0; unit-conversion@1.0.1 (Checked against a reference); receipt 4fd523641391/ff52379e7c71; methods https://www.drybench.com/methods/calculators; page https://www.drybench.com/methods/tools/calc-unit-conversion. Quote this line with any number taken from this reply.
Methods
Every method and reference the tool's replies cite, with its version and level. A reply names the methods that call went through.
Unit conversion within one quantity, with molar bridges through a supplied formula weight
- Method:
unit-conversion@1.0.1 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: SI prefixes and the litre (BIPM SI Brochure, 9th edition, 2019, Tables 7 and 8); the dalton read as g/mol by the biochemical convention.
- How it was checked: Checked against exact rational arithmetic (Python 3.13.16 fractions) with factors from the BIPM SI Brochure, 9th edition, on 44 cases, 16 of them refusals: prefix changes exactly as decimal strings, molar bridges to nine significant figures (10 October 2026).
- What was not checked: Since the 2019 SI the molar mass constant is not exactly 1 g/mol, so reading Da as g/mol is a convention rather than an identity; the size of the difference was not read here (CODATA 2022 not read) and is not carried. No published case set names unit-conversion@1.0.1: its fixtures are not tied to this version by a manifest. No case runs this method through the served tool on its production runtime. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- Method, sources and checks
- On Drybench Calc's methods page: Unit converter
Celsius and kelvin by the exact offset
- Method:
temperature-offset@1.0.0 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: t/°C = T/K − 273.15 (BIPM SI Brochure, 9th edition, 2019, §2.3.1).
- How it was checked: Checked against exact rational arithmetic (Python 3.13.16 fractions) on 5 conversions and 2 refusals below absolute zero, exactly as decimal strings (10 October 2026).
- What was not checked: No published case set names temperature-offset@1.0.0. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
- Method, sources and checks
- On Drybench Calc's methods page: Unit converter
No independent scientist has yet reviewed these checks. What the levels mean.
Changes to its methods
Where it runs
Hosted here. The hosted MCP connection serves this tool, as does the local MCP server. The hosted connection can be paused, or a tool withheld from it, at any time; its own refusals (413, a request too large; 429, too many requests; 503, the service unavailable) are not the tool's answers and carry no receipt.