Finance · Investments & Markets

MACD Calculator

Calculate MACD, its signal line, and histogram from entered prices.

Loading calculator…

Feedback

Understand the investment calculation

What the MACD Calculator is for

Calculate MACD, its signal line, and histogram from entered prices.

It makes the prices, cash flows, rates, time periods, weights, and model conventions explicit so you can inspect an entered scenario without hidden live-market assumptions.

Calculation structure

Follow the stated model and units

Visual explanation

See how the inputs become the result

Read the estimate correctly

Use the result within its boundaries

Periods 12, 26, and 9 apply first-price-seeded EMAs to the entered series.

All EMAs use the first entered observation as their seed.

Quick guide

How to use this calculator

  1. Enter observations in chronological order and choose the visible period or convention.
  2. Use prices and volumes with consistent units and equally spaced periods where required.
  3. Read the formula and seeding convention before comparing results with another platform.

Calculation method

Calculation method

MACD = fast EMA − slow EMA; histogram = MACD − signal EMA.

Technical indicators are deterministic transformations of entered historical data. Approximate floating results are explicitly formatted as estimates.

Worked example

Worked example

Periods 12, 26, and 9 apply first-price-seeded EMAs to the entered series.

MACD = fast EMA − slow EMA; histogram = MACD − signal EMA.

Supported inputs

Precision and limits

Visible input limits

Lists accept up to 2,000 fixed-decimal rows. Period fields disclose their whole-number limits. Approximate indicators reject observations whose significant differences cannot be represented reliably at their entered scale.

No live market data

The page does not fetch prices, volumes, corporate actions, exchange calendars, or benchmark data. Enter adjusted or unadjusted observations deliberately.

Decision boundary

Indicators describe entered history. They do not predict price direction, identify a suitable trade, measure every risk, or recommend an investment.

Calculator-specific assumptions

All EMAs use the first entered observation as their seed.