FinanceFormula-based · Runs in your browser

Bid-Ask Calculator

Calculate bid-ask spread, midpoint, spread percentage, and trade values for a quoted security.

Preparing saved example…

Inputs

Enter the values you know. Optional fields may be left empty.

Local save controls below
Required
$
Required
$
Required

Result

Updates as valid inputs change.

Calculated locally
Market quotes can change rapidly. This calculator does not provide investment advice or executable pricing.
Bid-ask spread
Spread as % of midpoint
Quote midpoint
Cost to buy at ask
Proceeds to sell at bid
Immediate spread cost

Saved locally, explained clearly

Drafts, calculations, scenarios, and workflow progress stay in this browser unless you export them.

Opening local database…

Calculation steps

Follow what happened from the selected formula to the displayed answer.

Show substituted values and intermediate working
Calculate current inputs to see the working.
  1. 1

    Formula selected

    The calculator uses the following formula or method.

    spread = ask − bid; spread % = spread ÷ midpoint × 100%

  2. 2

    Values entered

    Your values are placed into the calculation.

    Enter values to see what is used in this step.

  3. 3

    Result calculated

    The formula or method produces the following result values.

    Results will appear after a successful calculation.

  4. 4

    Answer formatted

    Displayed values are rounded and formatted using each output’s configured precision.

Scenario comparison

Save working scenarios, then select two or three to compare. Formula versions and inputs remain visible.

No scenarios saved for this calculator yet.

Recent calculations

Successful calculations are retained locally according to your privacy settings.

No local history for this calculator yet.

Data and privacy

What this calculator does

Calculate bid-ask spread, midpoint, spread percentage, and trade values for a quoted security.

How it works

The calculator evaluates spread = ask − bid; spread % = spread ÷ midpoint × 100%. Inputs are checked before calculation, and invalid values such as zero denominators or out-of-range selections produce a clear error instead of a misleading result.

Input query strings and outputs

Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.

Input query strings

3
  • ?bidPrice= Bid price

    Money · Required · Default: 99.5

  • ?askPrice= Ask price

    Money · Required · Default: 100.1

  • ?quantity= Quantity

    Number · Required · Default: 100

Outputs

6
  • spread Bid-ask spread

    Currency · Primary output

  • spreadPercentMidpoint Spread as % of midpoint

    Percentage

  • midpoint Quote midpoint

    Currency

  • buyValue Cost to buy at ask

    Currency

  • sellValue Proceeds to sell at bid

    Currency

  • roundTripSpreadCost Immediate spread cost

    Currency

Inputs and results

The inputs are Bid price, Ask price, Quantity. Results include Bid-ask spread, Spread as % of midpoint, Quote midpoint, Cost to buy at ask, Proceeds to sell at bid, Immediate spread cost.

Important notes

Market quotes can change rapidly. This calculator does not provide investment advice or executable pricing.

Sources
  • No external reference is listed for this calculator. Its formula and variable definitions are shown above.
Limitations
  • Market quotes can change rapidly. This calculator does not provide investment advice or executable pricing.
  • Estimates use the rates, timing, and assumptions entered. Fees, taxes, lender rules, and future changes are included only where explicitly shown.