OPT_BINOMIAL Function (Gnumeric)
Value American or European calls and puts in Gnumeric with OPT_BINOMIAL, explicit carry, bounded tree steps and exercise comparisons.
Verification status: Gnumeric 1.12.57 ssconvert bounded OPT-BINOMIAL fixtures; pinned/retained 1.12.62 source separate; no GUI. How formula examples are checked
OPT_BINOMIAL values a European- or American-style call or put using a recombining binomial tree. It is a theoretical model calculation. The number of time steps affects discretization, and American exercise is handled by comparing continuation value with immediate exercise at tree nodes.
Syntax and arguments
=OPT_BINOMIAL(amer_euro_flag,call_put_flag,num_time_steps,spot,strike,time,rate,volatility[,cost_of_carry])
Use “a” for American or “e” for European, and “c” for call or “p” for put. num_time_steps is the tree step count; use a positive integer. Spot and strike are positive prices, time is positive maturity in years, rate is annual continuously compounded interest and volatility is positive annualized volatility. Rates and volatility are decimal fractions, such as 0.05 and 0.20.
The first eight arguments are required. Optional carry defaults to 0, although the help’s argument list does not spell out that default; the registry and callback do. Set carry explicitly when the intended model requires it. For the non-dividend stock example here, carry equals rate.
The implementation floors the step count and rejects values outside its allowed bound, but large allowed trees can still be expensive. Use modest, justified step counts and study convergence; do not interpret an implementation limit as a recommended workload.
Worked example: a small European call tree
=OPT_BINOMIAL("e","c",2,100,100,1,0.05,0.2,0.05)
The expected value is approximately 9.540501338583. Independently, each step is 0.5 year. The up multiplier is EXP(0.2×SQRT(0.5)), the down multiplier its reciprocal, and the risk-neutral probability is [EXP(0.05×0.5)−down]/(up−down). Compute terminal call payoffs and discount their expected values backward by EXP(-0.05×0.5) at each step.
Changing only the step count from 2 to 4 gives approximately 9.970522921901. This illustrates discretization sensitivity; it does not prove that every increase in step count improves the approximation monotonically.
Advanced use: American versus European exercise
With four steps and the same numeric parameters:
| Formula | Expected value, approximately |
|---|---|
=OPT_BINOMIAL("e","p",4,100,100,1,0.05,0.2,0.05) |
5.093465371973 |
=OPT_BINOMIAL("a","p",4,100,100,1,0.05,0.2,0.05) |
5.882800351329 |
The American put has additional exercise opportunities in this tree. At each node the model uses the larger of immediate exercise and discounted continuation. The European put uses continuation until expiry.
If you omit carry from the four-step European call, the result is approximately 7.122351090877, not 9.970522921901. This is a different carry assumption rather than a rounding discrepancy. In a cell-driven model, place each parameter in its own labeled cell and keep flags, step count and carry visible alongside the output.
Errors and numerical checks
- Invalid style or call/put flags return
#NUM!in the tested case. Use the documented one-letter choices. - Require a strictly positive step count, time and volatility. A zero step count is not a meaningful one-step tree, even if a low-level bound check does not reject it immediately.
- Check that the implied risk-neutral probability lies between 0 and 1. Parameters violating the tree’s no-arbitrage condition can produce a mathematically inappropriate result without a helpful input error.
- Avoid extremely large step counts; the backward calculation grows roughly quadratically with n.
- Use consistent annual units and explicit carry when comparing models.
- The model output is a price per modeled underlying unit, not a broker quote or a whole-contract total unless a multiplier is separately applied.
Version and related functions
The syntax and default were inspected in pinned Gnumeric 1.12.62 source. Exact introduction and retirement releases remain unestablished. Native tests below use trees of only two and four steps and do not certify all sizes.
EXP and MAX implement the discounting and payoff components used in an independent tree calculation.
Official sources
Native verification scope
On 17 October 2026, Gnumeric 1.12.57 ssconvert recalculated 6 bounded OPT_BINOMIAL fixture records in C.UTF-8. The saved input workbook, exact formula cells, expected specification and output workbook were cross-checked against the native result records. Numerical expectations use independent normal-CDF calculations, finite-difference maturity derivatives or a separately constructed small binomial tree, as appropriate. This is native engine evidence, not GUI or screenshot evidence. Inspected 1.12.62 source is separate from the 1.12.57 executable. Composed helper formulas and distributional identities are mathematical checks unless separately recorded. Other versions and untested boundaries remain outside this scope.
Cross-program scope
These are Gnumeric function names and argument conventions. Similar option or random-distribution functions in other spreadsheets may use different defaults, scaling or parameterizations. Exporting a workbook does not establish that another program will recalculate these formulas; verify support and results in the destination program before relying on them.