# vollib/vollib

Fundamentally a swig/python wrapper around Peter Jaeckel's lets_be_rational.  lets_be_rational focuses exclusively on Black76, while Vollib extends this to add support for Black-Scholes and Black-Scholes-Merton.

Repository: https://github.com/vollib/vollib
Canonical: https://ross.abutalabs.com/products/vollib
Homepage: http://www.vollib.org/
Language: Python
License: MIT
License Family: permissive
Last push: 2023-06-05T12:27:02+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4170, "days_push": 1185, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1016, forks 137 (observed 2026-08-28T04:03:14.538237+00:00)

## What it is
Vollib is a Python library for fast and accurate option pricing, implied volatility, and greeks calculations using Black, Black-Scholes, and Black-Scholes-Merton models. It wraps Peter Jäckel's LetsBeRational algorithm, which reaches machine precision in one or two iterations on standard 64-bit floating point hardware.

## Use cases
- calculate option prices in python
- compute implied volatility from option prices
- calculate option greeks like delta and gamma
- black-scholes pricing library
- black76 futures option pricing
- fast implied volatility solver

## When to choose
- you need fast, machine-precision option pricing or implied volatility in Python
- you need Black, Black-Scholes, or Black-Scholes-Merton models with analytical and numerical greeks
- you want a battle-tested wrapper around LetsBeRational

## When to avoid
- you need exotic or path-dependent option pricing models
- you need a full backtesting or trading framework rather than a pricing library
- you need to handle zero-strike limiting cases, which are outside the supported input domain

## Facets
- artifact type: library
- maturity: active
- function: math, sdk
- domain: fintech, mathematics
- platform: python, cross-platform
- tags: options-pricing, implied-volatility, greeks, black-scholes, black76, quantitative-finance, swig-wrapper, algorithms

## Member repositories
- vollib/vollib (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:14.538237+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:22.264998+00:00, confidence not recorded.
  - homepage: http://www.vollib.org/ (fetched 2026-08-29T13:10:37.283017+00:00, sha 6ed76570d205)
  - site_page: https://vollib.org/documentation.html (fetched 2026-08-29T13:10:37.292160+00:00, sha 0f55097ca5e3)
  - site_page: https://vollib.org/installation.html (fetched 2026-08-29T13:10:37.294124+00:00, sha f08a1f614435)
- Data as of 2026-08-30T08:39:29.467469+00:00.
