Calculate Bid-Ask Spread

Enter bid and ask prices to compute the absolute and percentage spread. Pyodide is loaded on demand, so calculations run with real Python code without upfront overhead.

Results

Enter values and press Calculate to see the spread.