Instalab
logoInstalab

Shannon Diversity Index

Stool Test
Explore the variety of your gut bacteria and changes that can follow antibiotics or illness.
4.9 (2,740 reviews)
Tested by US Biotek or Genova
Physician-reviewed results
Results in under 1 week
How it works
Order from Instalab
No prescription or your own doctor's order needed
Self-collect at home
Kit shipped directly to you
Get results
Explained with clear next steps, no medical jargon

Should you take a Shannon Diversity Index test?

This test is most useful if any of these apply to you.

Curious About Your Gut Bacteria
Explore bacterial variety in your stool, with the understanding that the score isn't a validated measure of health.
Recovering After Antibiotics
Explore bacterial diversity after treatment; a result alone cannot establish how much was lost or whether recovery is complete.
Living With Ulcerative Colitis
Add an exploratory view of your bacterial community while keeping disease monitoring focused on established assessments.
Exploring Links With Your Blood Sugar
Explore research linking gut diversity with metabolism while using established blood tests to assess your own risk.

About Shannon Diversity Index

The Shannon diversity index condenses the bacterial variety detected in your stool into one number. It rises when more bacterial types are present in more even proportions. Researchers use it to study changes during illness, treatment, and recovery, but the number alone cannot establish what caused a change or whether your gut is healthy.

This remains an exploratory health measure. There are no universally accepted clinical cutoffs, and studies haven't established that making treatment decisions from this score improves health outcomes. Its research value comes from describing bacterial communities and comparing them under consistent measurement conditions.

What the Score Captures

Two things go into the score. Richness is the number of distinct bacterial types detected. Evenness describes how similar their proportions are. Picture two forests with fifty tree species each: in one, the species occur in similar numbers, and in the other, a single species makes up nearly every tree. The first forest scores higher, even though the species count is identical.

For this stool measurement, the lab sequences bacterial DNA, groups the sequences into bacterial types, and calculates the score from their relative proportions. Those proportions don't measure the total number of bacteria in your gut. A sample dominated by one type has a lower score than a sample with the same types distributed more evenly.

Stool represents bacteria shed into the intestinal contents. Communities attached to the gut lining can differ, so a stool score and a score calculated from a colon biopsy describe different samples. The number also leaves out information about what individual bacteria do.

Age matters. Longitudinal research shows that bacterial diversity develops through infancy and early childhood. Adult comparisons therefore don't provide an appropriate benchmark for a young child.

Serious Illness and Infection Risk

Some of the clearest outcome associations come from hospitals. In a study of 96 people in intensive care, each one-point decline in stool Shannon diversity during the early hospital course was associated with about double the rate of death within 60 days. Diversity typically fell by about a tenth of a point per day, so a one-point loss is a large change. The estimate was imprecise, and the study couldn't establish that the diversity loss caused the deaths.

A study of 97 people starting chemotherapy for acute myeloid leukemia found a similar association with infection. Those with higher baseline stool diversity had roughly two-thirds lower rates of infection before their infection-fighting white blood cells recovered. In a separate leukemia cohort, greater variation in stool diversity during treatment was associated with infections during the following recovery period.

A single reading at intensive care admission has been less consistent. A meta-analysis found that the pooled association between high versus low diversity and in-hospital mortality was too imprecise to support a reliable prediction. These studies used different populations, sampling schedules, and laboratory methods.

The hospital findings don't provide a personal risk estimate for a healthy adult. They also don't establish that collecting a baseline before a planned hospital stay or chemotherapy improves care. Repeated measurements are being studied, but their role in treatment decisions remains unproven.

Ulcerative Colitis and Crohn's Disease

People with inflammatory bowel disease often have lower stool bacterial diversity than healthy comparison groups. Some studies also find lower diversity during active Crohn's disease than during remission, although the distributions overlap.

In a study that included 111 people across ulcerative colitis and healthy comparison groups, the participants with ulcerative colitis in remission were followed for two years. Higher baseline Shannon diversity was associated with about five times the odds of remaining in remission after adjustment for other factors. The estimate was imprecise: the plausible range ran from about 1.5 to about 20. That is an odds comparison from one cohort, not a fivefold increase in your probability of staying flare-free.

This makes diversity a candidate marker for further study, but it doesn't establish a treatment target or a reliable warning of an approaching flare. Symptoms, fecal calprotectin, and other established assessments remain the basis for evaluating inflammatory bowel disease activity.

Blood Sugar, Liver Fat, and Weight

In a study of 2,166 adults, higher stool Shannon diversity was associated with less insulin resistance among people without diabetes. Insulin resistance develops when cells respond less effectively to insulin. The link with type 2 diabetes itself was less secure; the clearest diabetes finding involved the number of bacterial types rather than the Shannon score.

Lower stool diversity was associated with fatty liver in a population study of 1,355 adults, and the link held after accounting for body weight, alcohol, diet, and acid-reducing medication. A meta-analysis also found slightly lower Shannon diversity in women with polycystic ovary syndrome, with a clearer difference in comparisons involving women with obesity. These findings describe group differences; they don't establish that low diversity causes either condition.

Obesity has a less consistent relationship with the score in individual studies. A meta-analysis of seven studies found no statistically clear pooled difference in Shannon diversity between people with and without obesity, with large variation between studies. A later pooled analysis of individual data from 7,415 adults in eight European cohorts, using harmonized methods, found a modest pattern: higher body mass index went with slightly lower diversity. The score still cannot diagnose a metabolic problem or establish that blood sugar or liver health has improved.

Colon and Rectal Cancer

In a study of 166 people with stage I to III colorectal cancer, higher diversity in stool collected before surgery was associated with better disease-free survival, most strongly in the rectal cancer subgroup. This is an exploratory prognostic finding, with no established role in choosing treatment.

Screening research has produced mixed results. In 538 people with usable samples from one health plan's screening program, Shannon diversity wasn't consistently associated with precancerous growths or cancer. A later study of 925 people that sequenced leftover screening-test stool more broadly found lower diversity in people with colorectal growths, especially early adenomas, where higher diversity went with about half the odds. A cross-sectional study of 1,762 people found only weak, inconsistent associations and no reliable bacterial signature. Studies that reuse stool from fecal immunochemical test devices also handle samples differently from a dedicated microbiome kit. Shannon diversity hasn't been validated as a replacement for colorectal cancer screening.

When a Higher Score Isn't Better

The score describes variety without assigning a health value to each organism. A community containing potentially harmful bacteria can be diverse, and two communities with different bacteria can produce the same score.

Research doesn't support a universal pattern across diseases. A pooled reanalysis found no consistent Shannon diversity difference in Parkinson's disease or multiple sclerosis. Psychiatric conditions show no consistent direction either. A meta-analysis of 34 studies found no significant Shannon difference across psychiatric disorders, and a large population cohort linked lower diversity with more depressive symptoms. One small study even reported higher fecal diversity in people with active major depression than in healthy controls.

Higher bacterial diversity has also been reported in people carrying Blastocystis. This organism isn't a bacterium, so its presence doesn't directly add to a bacterial Shannon score. The association describes the bacterial community accompanying carriage; it doesn't establish whether carriage is beneficial or harmful.

When Results Can Be Misleading

  • Laboratory methods: DNA extraction, the sequencing approach, the amount of sequencing, and the way sequences are grouped can change the result. Scores from different laboratories or analytical pipelines aren't automatically comparable.
  • Calculation choices: the logarithm used in the formula changes the numerical scale. A transformed measure such as the effective number of bacterial types is also different from the raw Shannon index.
  • Collection and storage: preservation, temperature, and delays before processing can alter the bacterial proportions measured in a sample.
  • Stool consistency: stool consistency and intestinal transit can accompany differences in bacterial communities. A small study found limited changes during ordinary day-to-day variation, but that doesn't establish that diarrhea or constipation has no effect.
  • Recent treatment or illness: antibiotics, cancer treatment, and serious illness can cause real biological changes. A sample collected during these events describes that period and may differ from your usual state.
  • Single-sample noise: a meaningful share of Shannon variation occurs within the same person over time, so one sample can sit above or below your usual level.
  • Relative proportions: the score can change when one group expands, even without a loss of every other group. It doesn't measure total bacterial quantity, confirm that detected bacteria are alive, or identify the cause of symptoms.

Tracking Your Trend

In a small study of 25 older adults, stool Shannon diversity was fairly stable over two years. A study with dense repeated sampling paints a noisier picture: about a third of the variation in Shannon diversity occurred within the same person over time, and evenness varied even more. One reading can misrepresent your usual state, and no study has established how large a change must be to matter clinically. A return to an earlier score also doesn't prove that the original bacterial community or its functions have returned.

What Moves This Biomarker

Evidence-backed interventions that affect your Shannon Diversity Index level

↓ Decrease
A course of moxifloxacin
In a small controlled study of healthy volunteers, a five-day course of moxifloxacin reduced stool bacterial diversity, with a modeled median maximum Shannon decline of about 28% and a return close to baseline around day 16 after treatment began. Later studies vary: a 2025 randomized trial found minimal disruption from a 10-day course compared with oral vancomycin, while a 2025 modeling study ranked moxifloxacin as the slowest to recover of four antibiotics, about 13 days after the last dose to regain 95% of baseline. This is an unwanted effect on the bacterial community; it doesn't outweigh the benefit of treating an infection when antibiotics are needed.
MedicationModerate Evidence
↑ Increase
Regular exercise or structured exercise training
Studies of exercise and stool Shannon diversity have been inconsistent. One meta-analysis reported a small average shift toward higher diversity, but another pooling 2,632 healthy participants found no consistent effect of physical activity, and a systematic review found that more than half of human studies showed no significant change. Where a benefit appeared, it was mainly in people with obesity or type 2 diabetes.
ExerciseModest Evidence
↑ Increase
A higher-quality habitual diet, including a Mediterranean-style pattern
Among 1,735 older adults, those in the highest third of several diet-quality scores had stool Shannon diversity about 1% to 2% higher than those in the lowest third. This was an association with habitual diet, so it doesn't establish how much your score would change after changing what you eat.
DietModest Evidence
↓ Decrease
Fluorouracil-based chemotherapy for colon cancer
Stool Shannon diversity declined over six months in a pilot study of people receiving chemotherapy for colon cancer. This was an unwanted change observed during treatment, although the study couldn't separate chemotherapy from accompanying dietary changes and other exposures. Cancer treatment decisions should follow its expected benefits and risks, not this score alone.
MedicationModest Evidence
↑ Increase
Biologic treatment for Crohn's disease
In a prospective Crohn's disease cohort, stool Shannon diversity increased over a year among people receiving biologic treatment. Diversity also increased among those who achieved sustained remission without steroids. People given biologics started with more disrupted communities and improved regardless of clinical response, so part of the rise may reflect their lower starting point. Treatment wasn't randomized, and a score increase doesn't confirm remission.
MedicationModest Evidence

Frequently Asked Questions

References

46 studies
  1. Serena Porcari, Benjamin H. Mullish, Francesco AsnicarThe Lancet Gastroenterology & Hepatology2025
  2. Scikit-bio DevelopersScikit-bio Documentation2026
  3. C. Nowicki, Lucille Ray, Philip a. Engen, Andrea Madrigrano, T. Witt, T. Lad, M. Cobleigh, Ece a. MutluFrontiers in Microbiology2023
  4. Hannah Wozniak, N. Gaïa, Vladimir Lazarevic, C. Le Terrier, T. Beckmann, E. Balzani, M. Urner, J. Pugin, J. Schrenzel, C. HeideggerAnnals of Intensive Care2024

Shannon Diversity Index Testing Options

$539

See the whole ecosystem inside your gut, from the microbes to the digestion, barrier, and infection clues a symptom check alone never explains.

Includes 178 biomarkers:
Shannon Diversity IndexCalprotectinPancreatic Elastase 1β-GlucuronidasesIgA
$639

See what your gut microbes are actually doing, not just whether your digestion feels off, and track the balance over time.

60 biomarkers
FSA/HSA eligible
No Rx needed
HIPAA compliant