ODDLPRICE Function (Gnumeric)
Learn the ODDLPRICE function in Gnumeric: Returns the price per $100 face value of a security with an odd last period.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
ODDLPRICE calculates a quoted price per 100 face-value units when the final interest period differs from the regular coupon interval. It uses the last interest date to establish the final stub. This argument is essential: an ordinary periodic-coupon price calculation cannot infer an unusual final schedule merely from maturity.
Exact Gnumeric syntax
=ODDLPRICE(settlement,maturity,last_interest,rate,yield,redemption,frequency,basis)
In the inspected Gnumeric 1.12.57 registration, all eight arguments are required, including basis. Do not omit basis based on another spreadsheet’s optional-argument syntax. settlement, maturity and last_interest are dates; last_interest must not be after settlement. rate and yield are annual decimal rates, redemption is the maturity payment per 100, and frequency is 1, 2 or 4.
The documented basis codes are 0 US 30/360, 1 actual/actual, 2 actual/360, 3 actual/365 and 4 European 30/360. Keep the same basis throughout a comparison. A short stub and a long stub are both schedule concepts; their length is measured relative to the coupon interval rather than simply by counting displayed calendar months.
A short final-period control
Use settlement January 1, 2025, maturity April 1, 2025 and last interest January 1, 2025, with a 4% coupon, 4% yield, redemption 100, semiannual frequency and basis 0:
=ODDLPRICE(DATE(2025,1,1),DATE(2025,4,1),DATE(2025,1,1),0.04,0.04,100,2,0)
The independently expected quote is 100. Under the chosen 30/360 convention, the stub is 90 days out of a 180-day semiannual interval. The final interest payment is 100×0.04/2×0.5 = 1. Discounting the final payment 101 by 1 + 0.04/2×0.5 = 1.01 gives 100. Settlement equals the last interest date here, so accrued interest is zero.
For a cell-driven model, place those eight arguments in A2:H2 in the same order, using DATE expressions for the first three. Then =ODDLPRICE(A2,B2,C2,D2,E2,F2,G2,H2) reproduces the calculation. Keep a separate label identifying C2 as the last interest date so it is not accidentally replaced by issue date or settlement.
Advanced use and interpretation
For settlement after last_interest, accrued coupon affects the clean quote. The implementation derives three coupon-period ratios: last-interest to settlement, last-interest to maturity, and settlement to maturity. These ratios explain why replacing the stub by an approximate number of years can disagree with the function, especially at month ends or under actual-day conventions.
The returned number is still a per-100 quote. Converting it to a holding value requires multiplying by face amount/100, and a complete settlement amount may need accrued interest and fees. The example does not establish all market conventions or legal payment terms; those must come from the actual security’s schedule.
Errors, history and testing limits
The inspected callback returns #VALUE! if a date cannot be converted. It returns #NUM! for invalid frequency/basis, settlement after maturity, last interest after settlement, negative coupon or yield, or nonpositive redemption. Use valid dates and nonnegative rates before diagnosing numerical differences. Equal settlement/maturity is not rejected by the front-end comparison, but is outside this worked scenario.
Official NEWS lists ODDLPRICE among new financial functions in Gnumeric 1.1.6. That is a documented introduction milestone, not a native test of the old release. Only the short-stub case above is tested in the current runtime fixture; long final periods, month-end cases and other products’ odd-period functions are not certified here.
Verification scope and sources
On October 17, 2026, Gnumeric ssconvert 1.12.57 under C.UTF-8 recalculated the synthetic FinancialTraffic fixture. Native results were F4 = 100. The earlier fixture uses the exact literal formulas described above. A separate native Gnumeric 1.12.57 screenshot below shows the primary example only. Other edge cases are source-derived unless explicitly identified as tested. No native 1.12.62 execution is claimed. Official 1.12.57 source was retrieved October 17, 2026. Retained release history from the official 1.12.62 source was originally obtained October 13–14, 2026 and reviewed October 17; it is not a fresh runtime test.
Related Gnumeric guides
Native application screenshot

Gnumeric 1.12.57, captured October 17, 2026. Selected cell I2 shows 100.0000000000 per 100 face-value units. The formula bar and synthetic inputs are visible. GUI locale was not independently recorded; this capture covers the primary example only.