Examples
Examples
Try the starting example
- Booking charge (USD)
- 200
- Cancellation notice (hours)
- 30
- Full-credit minimum notice (hours; supplied policy)
- 24
- Late-cancellation credit fraction (0–1)
- 0.25
- Credit (USD)
- $200.00
- Retained fee (USD)
- $0.00
Try another scenario
- Booking charge (USD)
- 200
- Cancellation notice (hours)
- 12
- Full-credit minimum notice (hours; supplied policy)
- 24
- Late-cancellation credit fraction (0–1)
- 0.25
- Credit (USD)
- $50.00
- Retained fee (USD)
- $150.00
Calculation method
Calculation method
Credit (USD)
a*(1 if b>=c else d)
Retained fee (USD)
a-a*(1 if b>=c else d)
Symbols and units
- a
- Booking charge (USD)
- b
- Cancellation notice (hours)
- c
- Full-credit minimum notice (hours; supplied policy)
- d
- Late-cancellation credit fraction (0–1)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Single supplied two-tier cancellation rule; 0≤late fraction≤1. Currency is user-selected; no implied legal policy. Supported limits: All numeric inputs must be finite. Only the explicitly described mathematical scenario is supported.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.