price-volume

Volume or Price: What Is That Growth Made Of?

Enter revenue growth and unit-shipment growth to see how much of it came from price. The same 40% can mean two completely different things.

When a report says revenue grew 40%, that could mean the company sold 40% more things — or that the same things got 40% more expensive. Opposite meanings, identical headlines.

The math is simple: revenue equals price times quantity. If you know revenue growth and unit growth, price growth falls out.

Try setting unit growth to 0: revenue still grows 40%, but every point of it came from price.

量
價

同樣的成長,量推的和價推的是兩個完全不同的故事。看這個概念是怎麼來的 →

Source
// 營收成長 = (1 + 量成長) x (1 + 價成長) - 1
// 已知營收成長 r 與出貨量成長 v,反解價格成長 p:
const p = (1 + r) / (1 + v) - 1;

// 兩段用同一把尺畫,才比得出誰佔多數。
// 以「量與價之中較大的絕對值」當滿格,0% 就真的畫成 0 寬。
const scale = Math.max(Math.abs(pv), Math.abs(pp), 1);
barVol.style.width = `${(Math.abs(pv) / scale) * 50}%`;
barPrice.style.width = `${(Math.abs(pp) / scale) * 50}%`;