# Diversity Calculator Excel – BPMSG The diversity calculator is an excel template that allows you to calculate alpha-, beta- and gamma diversity for a set samples (input data), and to analyze similarities between the samples based on partitioning diversity in alpha and beta diversity.

The template works under Windows OS and Excel 2010 (xlsx extension). No macros or links to external workbooks are necessary. The workbook consists of an input worksheet for a set of data samples, a calculation worksheet, where all necessary calculations are done, and a result worksheet “beta” displaying the results.

## Applications

The template may be used to partiton data distributions into alpha and beta diversity, it can be applied in many areas, for example

• Bio diversity – local (alpha) and regional (beta) diversity
• AHP group consensus – identify sub-goups of decision makers with similar priorities
• Marketing – cluster analysis of similarities in markets
• Business diversification over time periods
• and many more.

Let me know your application! If you just need to calculate a set of diversity indices, you can use my online diversity calculator.

## Calculations and results

Following data will be calculated and displayed: • Shannon Entropy H (natural logarithm) alpha-, beta- and gamma, and corresponding Hill numbers (true diversity of order one) for all samples
• Homogeneity measure
1. Mac Arthur homogeneity indicator M
2. Relative homogeneity S
3. AHP group consensus S* (for AHP priority distributions) • Table 1: Shannon alpha-entropy, Equitability, Simpson Dominance, Gini-Simpson index and Hill numbers for each data sample • Table 2: Top 24 pairs of most similar samples
• Page 2: Matrix of pairs of data samples
• Diagram 1: Gini-Simpson index and Shannon Equitability
• Diagram 2: Average proportional distribution for all classes/categories
• Diagram 3: Proportional distribution sorted from largest to smallest proportion (relative abundance)

Limitations:

• Maximum number of classes/categories: 20
• Maximum number of samples: 24

Description of the template:  BPMSG-Diversity-Calc-v14-09-08.pdf

Other posts explaining the concept of diversity

 PLEASE READ before DOWNLOAD The template is free. So I would really appreciate, if you could at least rate it from 1 star (poor) to 5 star (excellent) below. Thank you!

Download BPMSG Diversity Calculator Version 14.02.13 (zip) As this version is the first release, please feedback any bugs or problems you might encounter.

#### Incoming search terms:

• diversity calculator
• simple diversity calculations alpha beta gamma
• calculate beta diversity
• how to calculate lapha diversity
• diversity analysis calculator
• diversity indices software

## 12 thoughts on “Diversity Calculator Excel – BPMSG”

1. khaY says:

Hello,
I need help to use your tool to calculate Shannon diversity. Are you available? Thank you in advance.

2. Harry says:

Hi Klaus,

This is an excellent excel template, but I’m unable to use it for more than 20 categories (even when editing in unprotected mode). Would you be able to update it so it can be used to analyse datasets with 30+ categories?

Much appreciated,
Harry

1. Hi Harry, thanks for your comment. Haven’t touched the template for a long time. In principle it can be extended. What means 30+? How much exactly do you need? The effort goes with the square of number of samples …

3. Julieta Carilla says:

Hello, thank you for share diversity calculation. I would like to calculate diversity of high a mountian vegetation gradient. I used Shannon winner index, but I would like to calculate the “true diversity”. I would apreciate if you can help me with this; data are vegetation cover by species in 16m2 plots. thank you very much

1. Julieta,
when you have the Shannon Wiener index H, true diversity is just the exponential function D = exp(H). Contact me via my contact page, if you need more info via email.
Klaus

4. Jordan Parker says:

Thank you for posting your template for calculating diversity. I am planning on using it in a bioinformatics lesson in the microbial ecology course that I teach at UCLA.

1. Thanks Jordan for your feedback!

5. sakshi says:

Thank you so much sir

6. ali says:

Hello and thanks very much
i work on my thesis , about salmonella and fingerprinting by rep-PCR
My salmonella isolates a
and i must copmute DI and 1-D, nd thus molecular profiles are high,
unfortunately the category maximum in this online and in downloaded exel file is 20( max is 20) and this is problem
my profile number ,is 29, 35, 32 that mucher than 20
what can i do???

7. Kindly read the description, if you don’t need alpha and beta diversity, you can input 1 sample only. Shannon diversity will be calculated. You might also study my articles or watch my videos.

8. m jalal a says:

I need for the calculation of shannon’s diversity. kinly help me.

This site uses Akismet to reduce spam. Learn how your comment data is processed.