Paramiq's formula engine powers all calculations in your product configurators. Here are five tips to get the most out of it.
1. Use Conditional Pricing
The if() function lets you implement tiered pricing, material-based surcharges, and quantity discounts.
if($quantity > 100, $unitPrice * 0.9,
if($quantity > 50, $unitPrice * 0.95,
$unitPrice
)
)2. Reference Other Calculations
Calculations can reference each other using $c1, $c2, etc. This lets you build complex pricing from simpler building blocks.
3. Round Smartly
Use ceil() for quantities (you can't buy half a board) and round(x, 2) for prices.
ceil($width / $boardWidth) → boards needed round($c1 * $pricePerM2, 2) → total price
4. Validate with Min/Max
Set min and max values on parameters to prevent impossible configurations. This saves downstream calculation errors and improves the customer experience.
5. Use the AI Formula Assistant
Stuck on a formula? Use Formula Assist directly in the formula field and describe what you need in plain language. It can suggest a formula, explain it, and help fix errors.
The AI formula assistant understands context — it knows your parameter names and existing calculations, so you can reference them naturally.