Superscript/Subscript Default Size Percent

Two independently specified script-size policies, no fixed default or assumption font superscript feature=scaled ordinary glyph. Explicit caller font/layout/reference context; not a shaping engine, actual page layout or accessibility certification.

Description

Superscript and subscript sizing can use different font-specific policies.

Superscript and subscript sizing can use different font-specific policies.1

Scaling the base point size makes those two explicit policies visible without assuming a universal default.

When to use Superscript/Subscript Default Size Percent

Use this tool when you need to reproduce the stated calculation from measured records or independently selected model inputs. Establish the font version, feature, layout, physical or CSS units, and matched reference basis needed for this calculation.

How to use Superscript/Subscript Default Size Percent and understand its results

  1. Establish the font version, feature, layout, physical or CSS units, and matched reference basis needed for this calculation.
  2. Enter observedBaseSizePoints, callerSuperscriptSizePercent, callerSubscriptSizePercent, following the field table and rules below, then run the tool.
  3. Read callerScriptSizesPoints. Use the output meanings below to interpret units, signs, flags, and any nested result fields.
  4. Correct reported input issues and run again. For a successful result, check the stated evidence coverage and assumptions before using it in your review.
Input fieldMeaningValue typeRequirement
observedBaseSizePointsObserved base size pointsnumberRequired
callerSuperscriptSizePercentCaller superscript size percentnumberRequired
callerSubscriptSizePercentCaller subscript size percentnumberRequired

Use positive base size in points and positive superscript and subscript percentages. Return sizes in superscript, subscript order. Percentages are not capped at 100 and do not select OpenType script glyphs.

scriptSizes=[base×superPercent/100,base×subPercent/100]

Symbols follow the input and output meanings and the calculation rules above.

Output fieldMeaningValue type
callerScriptSizesPointsCaller script sizes pointslist of number
json
{
  "input": {
    "observedBaseSizePoints": 12,
    "callerSuperscriptSizePercent": 60,
    "callerSubscriptSizePercent": 70
  },
  "output": {
    "callerScriptSizesPoints": [
      7.2,
      8.4
    ]
  }
}

Limitations and assumptions

The calculation uses declared units and font or layout assumptions. It does not shape glyphs, lay out actual pages, or certify accessibility or print quality.

Missing required fields, unknown fields, wrong types, and violated calculation rules are input issues. Numeric values must be finite; nonfinite results are rejected.

Alternative or Complementary methods

For a related review, use Baseline Shift Superscript Percent: Superscript baseline movement is separate from superscript glyph size. This calculator applies a supplied signed baseline-rise percentage to the base font size. For a complementary step, use Small Caps Size Percent Lookup: Small-cap height depends on the font and feature being measured. This lookup compares your observed relative height with a verified reference under an exact font-and-feature key.

References

  1. Superscript/Subscript Default Size Percent — tool.io

Similar or alternative tools

  • Baseline Shift Superscript Percent

    Superscript baseline movement is separate from superscript glyph size. This calculator applies a supplied signed baseline-rise percentage to the base font size.

  • Small Caps Size Percent Lookup

    Small-cap height depends on the font and feature being measured. This lookup compares your observed relative height with a verified reference under an exact font-and-feature key.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies