Skip to content

Main content

Ad Slot Size Ratio Gap Tool

Calculate ad slot size ratio gap from explicit caller-supplied inputs.

Loading tool…

Description

Return each width/height aspect ratio and creativeRatio-slotRatio.

Advertising records distinguish billable exposure, disclosure support, cyclic reporting windows, layout insets and supplied tax bases. A code-point budget or visibility-duration share does not establish readable or legally sufficient disclosure. Nominal geometry and costs require the intended platform and reporting conventions.

Return each width/height aspect ratio and creativeRatio-slotRatio.

When to use this tool

Use Ad Slot Size Ratio Gap when checking the stated advertising layout, exposure, boundary or cost convention.

How to use the tool and how it works

  1. Enter creativeWidth, creativeHeight, slotWidth, slotHeight. 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 creativeRatio, slotRatio, ratioGap. Use the output convention below.

Require positive creative/slot widths and heights. Return each width/height aspect ratio and creativeRatio-slotRatio.1

Input fieldMeaning and unitsAccepted input
creativeWidthCreative WidthRequired. Finite number; strictly above 0.
creativeHeightCreative HeightRequired. Finite number; strictly above 0.
slotWidthSlot WidthRequired. Finite number; strictly above 0.
slotHeightSlot HeightRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
creativeRatioCreative RatioRequired. Finite number.
slotRatioSlot RatioRequired. Finite number.
ratioGapRatio GapRequired. Finite number.
json
{
  "input": {
    "creativeWidth": 16,
    "creativeHeight": 9,
    "slotWidth": 4,
    "slotHeight": 3
  },
  "output": {
    "creativeRatio": 1.7777777777777777,
    "slotRatio": 1.3333333333333333,
    "ratioGap": 0.4444444444444444
  }
}

Limitations and assumptions

  • This compares aspect only; it does not determine pixel fit, scaling, cropping or actual publisher acceptance.
  • 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.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Inspect actual rendered creatives and verified delivery/billing records, and consult applicable platform, advertising and tax requirements for real decisions.

References

  1. Calculation and input contract: advertising/ad-slot-size-ratio-gap — tool.io

Similar or alternative tools