{
  "id": "dividend",
  "version": "4d74c21a29dc",
  "status": "published",
  "name": "Dividend Calculator",
  "question": "How will my dividend income grow?",
  "summary": "Projects the dividend income and value of a dividend stock or fund from its yield, dividend growth, price growth, and reinvestment (DRIP), with optional monthly additions.",
  "category": "finance",
  "subcategory": "investing",
  "url": "https://www.acalculator.org/finance/dividend-calculator",
  "markdown": "https://www.acalculator.org/finance/dividend-calculator.md",
  "kind": "schedule",
  "method": "Each month the price is P × (1 + g)^(m/12); in a payout month the dividend is shares × P × yield × (1 + d)^(year − 1) ÷ payouts a year, less tax, and with DRIP it buys shares at that month’s price.",
  "assumptions": [
    "The yield is the yearly dividend per share as a percent of today’s price, and the dividend per share rises once a year.",
    "The share price grows smoothly at a steady yearly rate. Real prices and dividends go up and down, and dividends can be cut.",
    "Dividends are paid at the end of the months that end each payout period (quarterly: months 3, 6, 9, 12).",
    "Reinvested dividends and monthly additions buy shares (including fractions) at that month’s price, with no fees.",
    "This is an estimate for planning, not financial advice."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "initial": {
        "title": "Amount invested",
        "description": "The amount invested today, which buys shares at today’s price.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0,
        "maximum": 1000000000
      },
      "price": {
        "title": "Share price today",
        "description": "The price of one share today.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0.01,
        "maximum": 1000000
      },
      "yield": {
        "title": "Dividend yield",
        "description": "The yearly dividend per share as a percent of today’s share price.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 30
      },
      "years": {
        "title": "For how long? (years)",
        "description": "How many years you hold the investment.",
        "type": "integer",
        "minimum": 1,
        "maximum": 50
      },
      "freq": {
        "title": "Dividends are paid",
        "description": "How often dividends are paid: monthly (12), quarterly (4), twice a year (2), or yearly (1).",
        "type": "string",
        "enum": [
          "12",
          "4",
          "2",
          "1"
        ]
      },
      "drip": {
        "title": "Reinvest dividends (DRIP)",
        "description": "When on, each dividend (after tax) buys more shares at that day’s price. When off, you keep it as cash.",
        "type": "boolean"
      },
      "divgrowth": {
        "title": "Dividend growth each year",
        "description": "The percent the dividend per share goes up at the start of each new year.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 30
      },
      "pricegrowth": {
        "title": "Share price growth each year",
        "description": "The yearly growth of the share price, spread evenly over the months.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 30
      },
      "add": {
        "title": "Add each month",
        "description": "An amount invested at the end of every month, buying shares at that month’s price.",
        "type": "number",
        "x-unit": "USD",
        "minimum": 0,
        "maximum": 100000000
      },
      "tax": {
        "title": "Tax on dividends",
        "description": "The tax rate taken from each dividend before it is reinvested or kept.",
        "type": "number",
        "x-unit": "percent",
        "minimum": 0,
        "maximum": 60
      }
    }
  },
  "outputs": {
    "total": {
      "label": "Your investment will be worth",
      "description": "The value of your shares at the end, plus any dividends kept as cash.",
      "format": "money"
    },
    "income": {
      "label": "Dividends in the last year",
      "description": "The dividends paid, after tax, in the last 12 months.",
      "format": "money"
    },
    "dividends": {
      "label": "Total dividends",
      "description": "Every dividend paid, after tax, whether reinvested or kept.",
      "format": "money"
    },
    "invested": {
      "label": "Money put in",
      "description": "The amount invested today plus every monthly addition.",
      "format": "money"
    },
    "yieldOnCost": {
      "label": "Yield on cost",
      "description": "Dividends in the last year ÷ money put in.",
      "format": "percent"
    },
    "shares": {
      "label": "Shares at the end",
      "description": "The shares you own at the end.",
      "format": "number"
    },
    "value": {
      "label": "Value of your shares",
      "description": "Shares at the end times the share price at the end.",
      "format": "money"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "initial": 10000,
      "price": 50,
      "yield": 4,
      "years": 20,
      "freq": "4",
      "drip": true,
      "divgrowth": 5,
      "pricegrowth": 3,
      "add": 0,
      "tax": 0
    },
    "outputs": {
      "total": 46373.83498849287,
      "income": 2506.3531563865954,
      "dividends": 22840.009372103414,
      "invested": 10000,
      "yieldOnCost": 25.063531563865954,
      "shares": 513.5213612353283,
      "value": 46373.83498849287
    },
    "text": "Investing $10,000.00 at a 4% yield for 20 years grows to $46,373.83, paying $2,506.35 in dividends in the last year."
  },
  "examples": [
    {
      "given": {
        "initial": 5000,
        "price": 50,
        "yield": 4,
        "years": 1,
        "freq": "4",
        "drip": false,
        "divgrowth": 0,
        "pricegrowth": 0
      },
      "expect": {
        "dividends": 200,
        "income": 200,
        "value": 5000,
        "total": 5200,
        "shares": 100,
        "yieldOnCost": 4
      },
      "source": "hand calculation in content.mdx: 100 shares × $2 a year"
    },
    {
      "given": {
        "initial": 10000,
        "price": 50,
        "yield": 4,
        "years": 1,
        "freq": "4",
        "drip": true,
        "divgrowth": 0,
        "pricegrowth": 0
      },
      "expect": {
        "shares": 208.120802,
        "total": 10406.0401,
        "dividends": 406.0401
      },
      "source": "hand calculation in content.mdx: each quarter the shares grow by 1%, 200 × 1.01⁴"
    },
    {
      "given": {
        "initial": 10000,
        "price": 50,
        "yield": 4,
        "years": 2,
        "freq": "1",
        "drip": false,
        "divgrowth": 10,
        "pricegrowth": 5,
        "tax": 15
      },
      "expect": {
        "dividends": 714,
        "income": 374,
        "value": 11025
      },
      "source": "hand calculation in content.mdx: 200 × 2 × 0.85 = 340, then 200 × 2.20 × 0.85 = 374; 200 × 50 × 1.05²"
    },
    {
      "given": {
        "initial": 10000,
        "price": 50,
        "yield": 4,
        "years": 20,
        "freq": "4",
        "drip": true,
        "divgrowth": 5,
        "pricegrowth": 3
      },
      "expect": {
        "total": 46373.83498849287,
        "shares": 513.5213612353283,
        "income": 2506.3531563865954
      },
      "source": "month by month with the steps in content.mdx; checked in Python (docs/progress/WP-32/python/dividend.py)"
    }
  ],
  "sources": [
    "U.S. Securities and Exchange Commission, Investor.gov: Dividend. https://www.investor.gov/introduction-investing/investing-basics/glossary/dividend",
    "U.S. Securities and Exchange Commission, Investor.gov: Direct investment plans, including dividend reinvestment plans (DRIPs). https://www.investor.gov/introduction-investing/investing-basics/glossary/direct-investment-plans-buying-stock-directly",
    "Internal Revenue Service, Topic no. 404, Dividends. https://www.irs.gov/taxtopics/tc404"
  ],
  "related": [
    "investment",
    "compound-interest"
  ],
  "changelog": []
}
