RunMat
  • Pricing
RunMat
GitHub
GitHub
DownloadSign InTry in Browser
DesktopRuntimeServer
RunMat

Run math blazing fast

GitHubX (Twitter)LinkedIn

Company

  • About
  • Pricing
  • Contact

Explore

  • RunMat for academia
  • RunMat vs MATLAB Online
  • Benchmarks

Get product updates and release notes from the RunMat team.

© 2026 Dystr · Made withfor the scientific community.

RunMat™ is a registered trademark of Dystr, Inc. MATLAB® is a registered trademark of The MathWorks, Inc. RunMat is not affiliated with, endorsed by, or sponsored by The MathWorks, Inc.

LicensePrivacy
/
See all docs
Builtin Reference
    • blsimpv
    • blsprice
    • macd

blsimpv — Compute Black-Scholes implied volatility from observed European option prices.

blsimpv(Price,Strike,Rate,Time,Value) computes implied annualized volatility from an observed European option value under the Black-Scholes model.

Syntax

blsimpv(Price,Strike,Rate,Time,Value)

How blsimpv works

  • Supports scalar expansion across matching nonscalar numeric inputs.
  • Name-value options include Limit, Yield, Tolerance, Class, and Method.
  • Class accepts logical values (true for call, false for put), strings, character vectors, string arrays, or cell arrays containing call/put values.
  • Method accepts search and jackel2016; the default is jackel2016, implemented with the same robust scalar solver but without applying caller Limit/Tolerance overrides.
  • Empty optional values use their documented defaults.
  • For Method='search', if no implied volatility exists inside [0, Limit], the output is NaN.

Examples

Recover call implied volatility

Volatility = blsimpv(100, 95, 0.10, 0.25, 13.6953)

Expected output:

Volatility = 0.5000

Put implied volatility with yield

Volatility = blsimpv(910, 980, 0.02, 0.25, 90.4683, 'Yield', 0.025, 'Class', 'put')

Expected output:

Volatility = 0.2500

Using blsimpv with coding agents

Open a RunMat example with live inputs, then ask the agent to explain how blsimpv changes the result.

Run a small blsimpv example, explain the result, then change one input and compare the output.

Related Finance functions

blsprice · macd

Open-source implementation

Unlike proprietary runtimes, every RunMat function is open-source. Read exactly how blsimpv is executed, line by line, in Rust.

  • View the source for blsimpv in Rust on GitHub
  • Learn how the RunMat runtime works
  • Found a bug? Open an issue with a minimal reproduction.

About RunMat

RunMat is an open-source runtime that executes MATLAB-syntax code blazing on any GPU. It is licensed under the Apache 2.0 license.

  • RunMat automatically optimizes your math for GPU execution on Apple, Nvidia, and AMD hardware. No code changes needed. Simulations that took hours now take minutes.
  • Start running code in seconds. RunMat runs in the browser, on the desktop, or from the CLI. No license server, no IT ticket.

Getting started · Benchmarks · Pricing

Download RunMat

Download RunMat for full performance, or use RunMat in your browser for zero setup.

Download RunMatOpen Sandbox
On this page
  • Syntax
  • How blsimpv works
  • Examples
  • Recover call implied volatility
  • Put implied volatility with yield
  • Using blsimpv with coding agents
  • Related Finance functions
  • Open-source implementation
  • About RunMat