Product Price Formula (v1.6.1)

Product Price Formula for Magento
15 days money back guaranteeLifetime free updatesLifetime bug fix guaranteeEasy installation

Have you ever come to a situation when the product price needs a custom mathematical formula depending on the product options selected or on the quantity ordered? We offer a powerful extension - Product Price Formula that will allow you accomplish and simplify the task.


  • Ability to create complex logical conditions like: if () {} elseif () {} elseif () etc.
  • Ability to create multiple rules and formulas within a single product
  • Full flexible control over the final price via a chain of conditions
  • Conditional branching
  • Ability to use product options within conditions and price formulas
  • Ability to use product attributes within conditions and price formulas
  • Ability to use configurable options. Full support of configurable products
  • Ability to use the quantity value in conditions and formulas, allows creating custom tier pricing
  • Ability to use math functions like sin(), cos(), sqrt(), pow(), etc.
  • Ability to create different formulas for different customer groups
  • Ability to limit formulas in time by setting the date range. You can create limited time offers.
  • Ability to apply formula either to the item price or the row total in cart (NEW)
  • Ability to calculate product's shipping weight based on your custom formula (NEW)
  • Ability to set custom validation criteria (formula or combination of options) (NEW)
  • Ability to copy price formulas from one product to multiple ones in bulk (NEW)



previewpreview preview preview preview preview preview preview preview preview preview preview
Product Price Formula
Full version for Magento Community Edition
Pack includes:
  • Extension for Magento CE 1.4.x, 1.5.x, 1.6.x, 1.7.x, 1.8.x, 1.9.x
  • License key for 1 Magento Website
  • 4 months of FREE Support
  • Documentation
Full Regular$199.00
PRO Installs:
4 months(included)
PayPal Buy Now Add to Cart
  • Lifetime Updates
  • 4 Months Support
  • Money Back
    60 Days


Calculation based on the object size


  • You need to apply a single setup fee to a bunch of products not depending on the quantity ordered. See the "Setup Fee" DEMO
Multiple products, single setup fee


Price matrix


Math operators and functions

Use the following condition and math operators:

Operator Explanation Example
() Sub condition ( {sku1} + {sku2} ) / PI
+ Addition {sku1} + 10
- Subtraction {sku1} - 10
* Multiplication 2 * PI * {sku_radius}
/ Division {sku1} / 1.5


Math functions:

Function Explanation
abs(x) Returns the absolute value of x
acos(x) Returns the arccosine of x, in radians
asin(x) Returns the arcsine of x, in radians
atan(x) Returns the arctangent of x as a numeric value between -PI/2 and PI/2 radians
atan2(y,x) Returns the arctangent of the quotient of its arguments
ceil(x) Returns x, rounded upwards to the nearest integer
cos(x) Returns the cosine of x (x is in radians)
exp(x) Returns the value of Ex
floor(x) Returns x, rounded downwards to the nearest integer
log(x) Returns the natural logarithm (base E) of x
max(x,y,z,...,n) Returns the number with the highest value
min(x,y,z,...,n) Returns the number with the lowest value
pow(x,y) Returns the value of x to the power of y
random() Returns a random number between 0 and 1
round(x) Rounds x to the nearest integer
sin(x) Returns the sine of x (x is in radians)
sqrt(x) Returns the square root of x
tan(x) Returns the tangent of an angle



Constant Explanation
E Returns Euler's number (approx. 2.718)
LN2 Returns the natural logarithm of 2 (approx. 0.693)
LN10 Returns the natural logarithm of 10 (approx. 2.302)
LOG2E Returns the base-2 logarithm of E (approx. 1.442)
LOG10E Returns the base-10 logarithm of E (approx. 0.434)
PI Returns PI (approx. 3.14)
SQRT1_2 Returns the square root of 1/2 (approx. 0.707)
SQRT2 Returns the square root of 2 (approx. 1.414)



Variable Explanation
{configured_price} Price after product options selected
{initial_price} Price before options selected
{price} Price after all calculations applied
{special_price} Special price configured in the product
{attrbute_code} Any product attribute code enclosed into {}
{option_sku} Call any product option by its SKU enclosed into {}
{option_sku.qty} The quantity of sub-option if Dynamic Product Options installed
{option_sku.price} Get the price of option by sku
{option_sku.length} Get the length of entered text
{configurable_pid} Returns the ID of currently selected product within the configurable product
{qty} Product quantity selected


risk free
Risk-Free Investment
No risk at all. 60-day money back guarantee.
simple licensing
Simple Licensing
One license per one Magento® installation. No store, website, or domain limitation. No monthly or hidden fees.
Try before purchasing
Free Lifetime Updates
Never pay for updates! Simply download the latest version of your favorite extension from our website when you need it.
Free Installation Service
Free Installation Service
Contact Us and we will help you install our extensions absolutely for FREE.
full open source
Full Open Source
No obfuscation, no encryption. Only Full Open Source extensions. Ideal for customizations.
Following Magento Standards
Following Magento® Standards
All our extensions are written following Magento® code standards.
Professionally Tested Modules
Professionally Tested Modules
We do our best to keep quality of our extensions: performance, functional, and cross-browser testing.
Comprehensive Documentation
Comprehensive Documentation
Detailed documentation for all extensions is available online and in PDF. Forum and FAQs.
Outstanding Support
Outstanding Support
Free and friendly EST time support. Help, tips & tricks, and even small customizations will be provided.
Long Term Strategy
Long Term Strategy
8+ years in eCommerce. We grow to provide you even better services and extensions, and are always open to customers' suggestions.