Skip to content

Main content

Degree Symbol Temperature Unit Spacing Tool

Calculate degree symbol temperature unit spacing from explicit caller-supplied inputs.

Loading tool…

Description

Accept C, F or K.

A unit label is text describing a quantity's intended scale. Joining tokens, adding powers or choosing spacing changes presentation; it does not convert the quantity, validate dimensional compatibility or verify a unit registry entry.

Accept C, F or K.

When to use this tool

Use Degree Symbol Temperature Unit Spacing when you need a specific quantity-and-unit text convention.

How to use the tool and how it works

  1. Enter value, unit. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read text. Use the output convention below.

Accept C, F or K. Append a space and °C or °F, or K without a degree symbol.1

Temperature symbols °C and K follow the numeric value with a space; K has no degree symbol.2

Input fieldMeaning and unitsAccepted input
valueValue under the stated unit, type, and placeholder convention.Required. Text; maximum UTF-16 length 8192.
unitUnitRequired. Text; one of "C", "F", "K"; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
textLiteral formatted output under the stated grammar and display convention.Required. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "value": "20",
    "unit": "C"
  },
  "output": {
    "text": "20 °C"
  }
}

Limitations and assumptions

  • The input value is already on the chosen scale; this is formatting without temperature conversion, uncertainty or safety interpretation.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Use a unit-aware calculation for actual conversion and dimensional checks. Select a destination-appropriate typography and retain the intended unit meaning when preparing labels.

References

  1. Calculation and input contract: format/degree-symbol-temperature-unit-spacing — tool.io

  2. SP 330: writing quantities, units and uncertainty — NIST

Similar or alternative tools