Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Statistics
  3. /Regression & Correlation Analysis
  4. /Power Regression Calculator

Power Regression Calculator

Last updated: March 28, 2026

Calculator

Results

Coefficient a

3.00208

Exponent b

1.5

R-Squared (R²)

0.999999

Results

Coefficient a

3.00208

Exponent b

1.5

R-Squared (R²)

0.999999

The Power Regression Calculator fits the model y = a·xb to your data, identifying scaling relationships where doubling the input multiplies the output by a fixed factor of 2b. Power laws are ubiquitous in nature and science: gravitational force follows an inverse-square law (b = -2), metabolic rate scales with body mass (b ≈ 0.75, Kleiber's law), earthquake frequency scales with magnitude, city population distributions follow Zipf's law, and turbulent fluid dynamics follow Kolmogorov scaling.

The calculator uses a double-logarithmic transformation: taking ln of both X and Y reduces the power model to a linear equation, which is then solved by standard least squares. Both X and Y values must be positive. Enter up to 5 data pairs to discover the power law relationship in your data.

Visual Analysis

How It Works

The power regression model is:

$$y = a \cdot x^b$$

Taking the natural logarithm of both sides:

$$\ln(y) = \ln(a) + b \cdot \ln(x)$$

Defining \(Y' = \ln(y)\) and \(X' = \ln(x)\), this becomes the linear model \(Y' = A + BX'\), where \(A = \ln(a)\) and \(B = b\). Linear regression on the log-log transformed data yields:

$$b = \frac{n\sum \ln(x_i)\ln(y_i) - \sum \ln(x_i)\sum \ln(y_i)}{n\sum [\ln(x_i)]^2 - [\sum \ln(x_i)]^2}$$

$$\ln(a) = \overline{\ln(y)} - b \cdot \overline{\ln(x)} \quad \Rightarrow \quad a = e^{\overline{\ln(y)} - b \cdot \overline{\ln(x)}}$$

The exponent b determines the power law behavior. When b = 1, the relationship is directly proportional (y = ax). When b = 2, y grows as the square of x. When 0 < b < 1, y grows sublinearly (concave curve). When b < 0, y decreases as x increases (inverse relationship). The coefficient a is the Y-value when X = 1, serving as the proportionality constant.

A key property of power laws is scale invariance: multiplying x by any factor k multiplies y by kb. This means the relative change in Y depends only on the relative change in X, not on the absolute values — a hallmark of fractal and self-similar systems.

Understanding Your Results

Power regression results reveal scaling relationships:

  • Coefficient a: The Y-value at X = 1 (since 1^b = 1 for all b). This is the proportionality constant of the power law.
  • Exponent b: The power law exponent. b > 1 means superlinear growth (accelerating). 0 < b < 1 means sublinear growth (decelerating). b < 0 means inverse relationship (Y decreases as X increases). b = 2 is a square law, b = 0.5 is a square root law, b = -1 is inverse proportionality, b = -2 is inverse square.
  • R²: High R² on the original scale confirms the power law holds. If a log-log plot of your data is approximately linear, the power model is appropriate.

To visually assess whether a power law fits, plot ln(Y) vs ln(X). If the points fall roughly on a straight line, the power model is appropriate — the slope of that line is the exponent b. Power regression is particularly common in allometry (biology), fractal geometry, geophysics, and complex systems research. Both X and Y must be positive; if your data includes zeros, the model is not directly applicable.

Worked Examples

Body Mass vs. Metabolic Rate (Kleiber's Law)

Inputs

count5
x10.02
y10.14
x20.5
y21.5
x35
y38.5
x470
y465
x5500
y5290

Results

coeff a3.52
coeff b0.748
r sq orig0.999

Metabolic rate (watts) vs. body mass (kg) across species. The power fit y = 3.52·x^0.748 closely matches Kleiber's famous 3/4-power law (b ≈ 0.75). This means a 10x increase in body mass only leads to a 10^0.75 ≈ 5.6x increase in metabolic rate. R² = 0.999.

Distance vs. Gravitational Force

Inputs

count5
x11
y1100
x22
y225
x33
y311.1
x45
y44
x510
y51

Results

coeff a99.85
coeff b-1.998
r sq orig0.9999

Gravitational force vs. distance follows the inverse-square law. The fit y = 99.85·x^(-2.00) recovers b ≈ -2, confirming F ∝ 1/r². Doubling the distance reduces force to 1/4 of its original value. R² ≈ 1.0.

Frequently Asked Questions

The power regression method takes the natural logarithm of both X and Y, and ln is only defined for positive numbers. The model y = a·x^b with a > 0 produces positive Y values for positive X, so negative or zero values in either variable indicate the data may not follow a power law. If your data contains zeros, consider adding a small offset or using a different model.

The exponent b tells you the scaling relationship. If b = 2, doubling X quadruples Y (2² = 4). If b = 0.5, doubling X increases Y by factor √2 ≈ 1.41. If b = -1, doubling X halves Y. In general, multiplying X by factor k multiplies Y by k^b. This scale-invariant property makes power laws particularly important in physics, biology, and complex systems where the same law applies across many orders of magnitude.

Power regression fits y = a·x^b (variable is the base), while exponential fits y = a·e^(bx) (variable is in the exponent). For large x, exponential growth always eventually outpaces power growth. On a log-log plot, power laws appear as straight lines; on a log-linear plot, exponentials appear as straight lines. Use power regression for scaling relationships (physics, biology) and exponential for compound growth (finance, populations).

The classic method is to plot your data on a log-log scale (both axes logarithmic). If the data falls approximately on a straight line, it follows a power law. The slope of that line is the exponent b. You can also compare R² values from different regression models — if the power model has the highest R², it is the best fit. For rigorous testing, methods like the Kolmogorov-Smirnov test or maximum likelihood estimation are used in research.

Many natural phenomena follow specific power laws: b = -2 (inverse square: gravity, electrostatic force, light intensity), b = 3/4 ≈ 0.75 (Kleiber's law: metabolic rate vs. body mass), b = 2/3 ≈ 0.67 (surface area vs. volume scaling), b = 1/2 = 0.5 (diffusion distance vs. time), b = -1 (Zipf's law: word frequency vs. rank), and b = 3 (Kepler's third law: orbital period squared vs. semi-major axis cubed, as T² ∝ a³).

Yes. The coefficient a is simply the Y-value when X = 1. If the phenomenon produces small Y values at X = 1, then a < 1. For example, in gravitational calculations with certain units, or in microscopic biological scaling, a can be very small. The coefficient a acts as a proportionality constant that scales the entire power curve up or down without changing its shape (which is determined solely by b).

Sources & Methodology

Newman, M.E.J. (2005). Power laws, Pareto distributions and Zipf's law. Contemporary Physics, 46(5), 323-351. Clauset, A., Shalizi, C.R. & Newman, M.E.J. (2009). Power-law distributions in empirical data. SIAM Review, 51(4), 661-703. West, G.B., Brown, J.H. & Enquist, B.J. (1997). A general model for the origin of allometric scaling laws in biology. Science, 276(5309), 122-126.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Linear Regression Calculator

Regression & Correlation Analysis

Simple Linear Regression Calculator

Regression & Correlation Analysis

Multiple Regression Calculator

Regression & Correlation Analysis

Polynomial Regression Calculator

Regression & Correlation Analysis

Exponential Regression Calculator

Regression & Correlation Analysis

Logarithmic Regression Calculator

Regression & Correlation Analysis