IJM
Student ToolsStats, Geo & Music

Shannon Diversity (H') & Gini Inequality Index

Calculate Shannon-Wiener entropy H', Simpson's Diversity (1-D), Pielou evenness, and Gini inequality coefficient from counts.

Processed in browserNo upload

Guide · Student Tools / Stats, Geo & Music

About Shannon Diversity (H') & Gini Inequality Index

Compute Shannon-Wiener Diversity Entropy `H'`, Pielou's Evenness `J'`, Simpson's Diversity `1 - D`, and Gini Inequality Coefficient (`0–1`) from species counts or income arrays.

When to use this tool

Handy for ecology biodiversity fieldwork labs, concentration audits, and economics inequality demonstrations.

How to use Shannon Diversity (H') & Gini Inequality Index

  1. Enter comma-separated non-negative Category Counts or Incomes.
  2. Inspect `H'`, Pielou Evenness, Simpson `1 - D`, and Gini Coefficient.

Supported inputs, options, and outputs

  • Input: Comma-separated non-negative numbers.
  • Outputs: Ecological diversity indices and Gini inequality ratio.

Accuracy notes and limitations

  • Uses natural log `ln` for Shannon `H'` (`nats`); multiply by `1 / ln(2)` if your curriculum uses base-2 bits.

Privacy and browser processing

Physics, chemistry, genetics, statistics, and audio/astronomy calculations execute locally inside your browser tab without uploading data or experiment entries to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.

Read the full IJM Privacy Policy or browse all Student Tools.

Related Tools

Ranked by matching inputs, outputs, and workflow compatibility

View all 114 in Student Tools →