Skip to content

Main content

Auction Second Price Gap Tool

Inspect supplied bids under second-price order statistics without reserve prices or tie allocation.

Loading tool…

Description

Require at least two nonnegative bids, sort a copy descending, and return the top two and their difference.

Auction arithmetic depends on the bidding rule, reserve and treatment of ties. A payment formula for one supplied bid profile differs from determining optimal bidding behavior or operating an actual market.

Require at least two nonnegative bids, sort a copy descending, and return the top two and their difference.

When to use this tool

Use Auction Second Price Gap when you need an explicit auction-profile or benchmark bidding calculation.

How to use the tool and how it works

  1. Enter bids. 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 highest, secondHighest, gap. Use the output convention below.

Require at least two nonnegative bids, sort a copy descending, and return the top two and their difference.1

Input fieldMeaning and unitsAccepted input
bidsBidsRequired. Array of finite number; minimum 0; maximum items 256.
Output fieldInterpretationReturned shape
highestHighestRequired. Finite number.
secondHighestSecond HighestRequired. Finite number.
gapDifference on the stated unit and subtraction basis.Required. Finite number.
json
{
  "input": {
    "bids": [
      10,
      7,
      5
    ]
  },
  "output": {
    "highest": 10,
    "secondHighest": 7,
    "gap": 3
  }
}

Limitations and assumptions

  • Tied highest bids produce zero gap; the tool does not choose a winner, apply reserve rules, or conduct an actual auction.
  • 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

Apply the complete auction specification and verify tie, reserve, allocation and payment rules. Use a model matching actual value and information assumptions before interpreting a theoretical bidding benchmark.

References

  1. Calculation and input contract: game-theory/auction-second-price-gap — tool.io

Similar or alternative tools