AP · Environmental Science · Biodiversity and Ecosystem Services

Genetic, Species and Habitat Diversity

13 min readUpdated November 30, 2026FreeAP Environmental Science, Biodiversity

Biodiversity is the variety of life at three levels: genetic (alleles within a species), species (how many species, and how evenly individuals are spread among them) and habitat (the variety of habitats in an area). More genetic diversity makes a population likelier to survive a new disease or environmental change; a population bottleneck strips that diversity away. Habitat loss cuts diversity at all three levels at once.

Quick check

  1. What is an allele?Show answerHide answer

    One version of a gene. Different alleles of the same gene can produce different traits, such as different resistance to a disease.

  2. Two forests each contain 10 tree species. Must they be equally diverse?Show answerHide answer

    No. If one forest is dominated by a single species and the other has similar numbers of each, the second is more diverse because its species are more evenly represented.

Know these already? Jump to the practice questions

What you'll be able to do

  • Describe biodiversity at the genetic, species and habitat levels.
  • Compare species richness and species evenness from count data.
  • Explain why greater genetic diversity helps a population survive disease or environmental change.
  • Explain how a population bottleneck and habitat loss reduce diversity.

Key terms

Species richness

The number of different species in an area.

In plain English
How many kinds of organism you can list.
Don't write
"Richness is the number of individuals."

Species evenness

How equally the individuals in a community are divided among its species.

In plain English
Whether every species has a fair share or one species dominates.
Don't write
"Evenness is the number of species."

Genetic diversity

The variety of alleles (versions of genes) within a population or species.

In plain English
How different one species' individuals are in their genes.
Don't write
"Genetic diversity is the number of species."

Population bottleneck

A sharp drop in population size that leaves few survivors, so many alleles are lost and genetic diversity falls.

In plain English
A population squeezed so small that most gene versions are lost.
Don't write
"A bottleneck is when a population grows too fast."

What are the three levels of biodiversity?

LevelWhat variesHow you might measure it
GeneticAlleles within a population or speciesNumber of different alleles in sampled individuals
SpeciesKinds of species, and their numbersSpecies richness and species evenness
Habitat (ecosystem)Habitats in an area, such as forest, wetland and grasslandNumber and area of different habitats

The levels are linked: more habitats support more species, and each species keeps its genetic diversity only while its populations stay large. Why this matters to people is covered in the note on ecosystem services.

Check yourself

A wetland is drained, so a region now has only forest and farmland. Which level of biodiversity has fallen most directly?
Show answerHide answer

Habitat diversity, because the region has lost one of its habitat types. Species and genetic diversity are likely to fall as a result.

How do species richness and evenness differ?

A community is more diverse when it has more species (higher richness) and when no single species dominates (higher evenness). To compare two communities from count data:

  1. Count the species with at least one individual in each, to compare richness.
  2. Compare each species' share of the total: similar counts mean high evenness; one very large count means low evenness.
  3. If richness is equal, the community with higher evenness is more diverse.

Key idea

Two communities with the same richness can differ in diversity, because evenness also counts.

Check yourself

Pond 1 has 3 species with 20, 20 and 20 individuals. Pond 2 has 3 species with 56, 2 and 2. Which pond has higher evenness?
Show answerHide answer

Pond 1. Its individuals are split equally, while in pond 2 one species makes up over 90% of the total.

Why does genetic diversity help a population survive?

A new disease or a change such as a warmer climate acts on the traits individuals already have:

  1. In a genetically diverse population, some individuals are more likely to carry alleles that help them resist the disease or tolerate the change.
  2. Those individuals survive and reproduce, so the population persists and those alleles become more common.
  3. In a genetically uniform population, if one individual is vulnerable, nearly all are, so the whole population can collapse.

A real example: in Ireland in the 1840s, most potatoes were grown from pieces of tubers of one or two varieties, so the plants were nearly identical genetically. When potato blight, caused by the water mold Phytophthora infestans, arrived in 1845, crops failed across the country, contributing to the Great Famine, in which about a million people died.

Check yourself

Why does a field of genetically identical crop plants face a higher risk from a new disease?
Show answerHide answer

If one plant lacks resistance, all of them do, so the disease can kill nearly the whole crop.

How do bottlenecks and habitat loss reduce diversity?

A population bottleneck works as a chain:

  1. A disaster, disease, hunting or habitat loss kills most of a population.
  2. The few survivors carry only some of the original alleles, so the rest are lost.
  3. Even if numbers recover, lost alleles return only slowly, through rare mutations or migrants, so genetic diversity stays low for many generations.

Cheetahs, for example, have unusually low genetic diversity, attributed to severe past bottlenecks.

Habitat loss hits every level at once: habitat types disappear, species that depend on them are lost (richness falls), and the remaining populations are smaller and isolated, so they lose alleles. Specialists, which need one particular habitat, are hit hardest.

Examiner's eye

Marks go to the full chain: smaller population, so alleles are lost, so less ability to adapt to disease or change.

Check yourself

A population recovers from 50 to 5,000 individuals after a bottleneck. Does its genetic diversity recover too?
Show answerHide answer

No, not quickly. The alleles lost in the bottleneck can return only through rare mutations or migrants, so diversity stays low.

Worked example 1: Compare two meadows

Question: In a class investigation, students counted flowering plants in two meadows of equal area.

SpeciesNorth meadow (plants)South meadow (plants)
Clover3085
Daisy255
Buttercup256
Yarrow204

(a) State the species richness of each meadow. (b) Identify the meadow with higher species evenness. Answer North meadow or South meadow.

What tells you the method

Counts by species: richness from the number of species, evenness from how counts are shared.

  1. Step 1: Count the species.

    Both meadows contain all 4 species.

    Why

    Richness counts kinds of species, not individuals.

  2. Step 2: Compare the shares.

    Each meadow has 100 plants. In the North meadow no species is above 30% of the total; in the South meadow clover makes up 85100×100=85%\dfrac{85}{100} \times 100 = 85\%.

    Why

    Evenness is about how equally individuals are spread among species.

  3. Step 3: Decide.

    The North meadow's counts (30, 25, 25, 20) are similar, so its evenness is higher.

    Why

    With equal richness, the more even community is the more diverse.

Check it

Both totals are 100, so the shares compare directly, and one species clearly dominates the South meadow.

Answer

(a) Both meadows have a species richness of 4; (b) the North meadow.

Worked example 2: A population bottleneck

Question: Hypothetical genetic surveys of a bird population found 18 different alleles across several genes. A severe drought then killed all but 40 birds, and the survivors carried only 7 of those alleles. (a) Calculate the percentage of alleles lost, to the nearest whole percent. (b) Predict whether the population's ability to survive a new disease is now higher, lower or the same as before the drought.

What tells you the method

A sharp fall in numbers, with allele counts before and after: a bottleneck.

  1. Step 1: Find the alleles lost.

    18−7=1118 - 7 = 11 alleles.

    Why

    The survivors carry only part of the original set.

  2. Step 2: Convert to a percentage.

    1118×100=61.1%\dfrac{11}{18} \times 100 = 61.1\%, about 61%.

    Why

    The original number goes on the bottom.

  3. Step 3: Link to survival.

    With fewer alleles, it is less likely that any bird carries an allele giving resistance to a new disease, so the population's ability to survive one is lower.

    Why

    Natural selection can act only on variation that is present.

Check it

61% lost leaves 39%, and 0.39×18≈70.39 \times 18 \approx 7, which matches the survivors' alleles.

Answer

(a) About 61% of the alleles were lost; (b) lower.

Your turn

Question: A hypothetical forest covered 1,200 km². Logging reduces it to 300 km². Calculate the percent decrease in forest area.

  1. Step 1: Find the decrease.

    1200−300=9001200 - 300 = 900 km².

  2. Step 2: Your go: divide the decrease by the original area and multiply by 100.

Show the full solutionHide the solution

Step 2. 900 km21200 km2×100=75%\dfrac{900 \text{ km}^2}{1200 \text{ km}^2} \times 100 = 75\%. The km² units cancel.

Losing three-quarters of the habitat removes habitat for forest species and leaves smaller, isolated populations, so diversity falls at every level.

Answer: The forest area decreases by 75%.

Traps

Trap

Species diversity just means the number of species.

It seems right because counting species is the easiest measure. But that is only richness; diversity also depends on evenness, so a community dominated by one species is less diverse than an evenly balanced one.

Two reefs both have 12 fish species. Reef 1 is 90% one species; reef 2 has similar numbers of each. Which is more diverse?

Reef 2. Richness is equal, but reef 2 has higher evenness.

Trap

Once a population recovers its numbers after a bottleneck, it recovers its genetic diversity too.

It seems right because more individuals sounds like more variety. But the newcomers descend from the few survivors and carry only their alleles, so diversity stays low until mutation or migration slowly adds more.

Where do the alleles in a recovered population come from?

Almost entirely from the few survivors of the bottleneck, plus any rare new mutations or migrants.

What's examined

On the AP® Environmental Science exam (Unit 2: Biodiversity), these ideas appear in multiple-choice and free-response questions built on count data or scenarios. Expect to compare richness and evenness, explain why genetic diversity aids survival, describe a bottleneck's effect, and calculate percent changes with your setup shown.

Practice questions

The table shows hypothetical counts from two tide pools of equal size and is for questions 1 and 2.

SpeciesPool X (individuals)Pool Y (individuals)
Snails1240
Sea stars102
Mussels113
Crabs90
Barnacles85
  1. Apply State the species richness of Pool Y.
Show answer

Answer: 4.

Marking points:

  • Pool Y has no crabs, so only snails, sea stars, mussels and barnacles count.
  1. Exam-style Which statement about the two pools is supported by the data?
  • A) Pool Y has higher richness and higher evenness.
  • B) The pools have equal richness, and Pool X has higher evenness.
  • C) Pool X has higher richness and higher evenness.
  • D) Pool X has higher richness, but Pool Y has higher evenness.
Show answer

Answer: C. Pool X has 5 species to Pool Y's 4, and its counts (8 to 12) are similar, while snails make up 4050×100=80%\dfrac{40}{50} \times 100 = 80\% of Pool Y.

Why the others are wrong:

  • A reverses both comparisons.
  • B ignores that Pool Y has no crabs, so richness differs.
  • D misreads evenness: Pool Y is dominated by snails.
  1. Recall Which phrase describes genetic diversity?
  • A) The number of different species in an area
  • B) The variety of ecosystems in a region
  • C) The number of individuals in a population
  • D) The variety of alleles within a population or species
Show answer

Answer: D. Genetic diversity is variation in genes within a species.

Why the others are wrong:

  • A is species richness.
  • B is habitat (ecosystem) diversity.
  • C is population size, which does not measure variety.
  1. Recall Name the event in which a population shrinks sharply, leaving few survivors and much lower genetic diversity.
Show answer

Answer: A population bottleneck.

Marking points:

  • Few survivors carry only some of the original alleles, so genetic diversity falls.
  1. Exam-style One field is planted with a single, genetically uniform wheat variety; another is planted with a mix of many varieties. A new fungal disease reaches both. Which outcome is most likely?
  • A) The mixed field loses a smaller share, because some varieties likely carry resistance alleles.
  • B) The uniform field loses a smaller share, because identical plants are equally strong.
  • C) Both lose the same share, because the disease is new to both.
  • D) The mixed field loses more, because disease spreads faster among varied plants.
Show answer

Answer: A. Genetic variety makes it likely that some plants resist, so they survive.

Why the others are wrong:

  • B: identical plants share the same weakness, so if one is vulnerable, all are.
  • C ignores the difference in genetic diversity between the fields.
  • D has the effect backwards: variety slows a disease's spread.
  1. Exam-style A hypothetical coastal wetland shrank from 4,800 ha to 1,300 ha. Calculate the percent decrease in wetland area, to the nearest whole percent.
Show answer

Answer: A 73% decrease.

Marking points:

  • Decrease: 4800−1300=35004800 - 1300 = 3500 ha.
  • 3500 ha4800 ha×100=72.9%\dfrac{3500 \text{ ha}}{4800 \text{ ha}} \times 100 = 72.9\%, about 73%.
  1. Apply A highway splits a large population of salamanders into several small groups that cannot reach each other. Predict how genetic diversity within each group changes over many generations. Answer increases, decreases or stays the same.
Show answer

Answer: Genetic diversity decreases.

Marking points:

  • Small, isolated groups lose alleles by chance and cannot gain new ones from other groups, so diversity within each falls.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • Biodiversity has three levels: alleles within species, species within communities, and habitats within regions.
  • Richness counts species; evenness checks whether any one species dominates. Both raise diversity.
  • Genetic variety makes it likely that some individuals survive a new disease or change.
  • A bottleneck removes alleles that do not come back when numbers recover.
  • Habitat loss cuts habitat, species and genetic diversity together, hitting specialists hardest.

Keep learning

Explore AP Environmental Science tutoring →

View the full Environmental Science syllabus →

More in this unit

Biodiversity

All Biodiversity and Ecosystem Services notes

Part of Novark's AP Environmental Science notes