# Bottleneck Effect Simulator (heterozygosity loss)

Expected heterozygosity loss through a population bottleneck: H_final = H₀(1−1/2Nb)^t(1−1/2Nr)^g, retention, inbreeding F, harmonic-mean Ne, and one-generation allele survival. Derived from Wright 1931, Nei et al. 1975, Hartl & Clark 2007, StatPearls. Educational use only.

> Canonical page: https://elysiatools.com/en/tools/bottleneck-effect-simulator

- **Category:** Education

- **Keywords:** bottleneck effect, population bottleneck, genetic drift, heterozygosity loss, effective population size, inbreeding, genetic diversity, conservation genetics, population genetics, genetics

## Overview

The Bottleneck Effect Simulator estimates expected heterozygosity after a population bottleneck and recovery period. Enter initial heterozygosity, bottleneck and recovery population sizes, durations, and focal allele frequency to calculate heterozygosity retention, inbreeding coefficient, harmonic-mean effective population size, and one-generation allele survival.

## Inputs

- **Initial heterozygosity H₀** (number): Heterozygosity before the bottleneck (0 < H₀ ≤ 1).
- **Bottleneck population size** (number): Census size during the bottleneck (Nb).
- **Bottleneck generations** (number): Number of generations spent at the bottleneck size (t).
- **Recovery population size** (number): Census size after recovery (Nr).
- **Recovery generations** (number): Generations spent at the recovery size (g; 0 to skip).
- **Focal allele frequency** (number): Frequency p of a focal allele used for the one-generation bottleneck survival estimate.
- **Decimal Places** (number)

## When to use

- Estimate how a short period of small population size can reduce genetic diversity.
- Compare the expected effects of mild and severe bottlenecks across different generation counts.
- Use population-genetics examples for teaching genetic drift, inbreeding, and allele loss.

## How it works

- Enter the starting heterozygosity H₀, bottleneck size Nb, bottleneck duration t, recovery size Nr, and recovery duration g.
- The tool applies H_final = H₀(1−1/2Nb)^t(1−1/2Nr)^g to estimate expected heterozygosity after both periods.
- It reports heterozygosity retention, cumulative inbreeding coefficient F, and harmonic-mean effective population size Ne.
- Enter a focal allele frequency p to estimate its probability of surviving one bottleneck generation, with results rounded to the selected number of decimal places.

## Use cases

- Conservation genetics: estimate diversity loss after a wildlife population crash and subsequent recovery.
- Population genetics education: demonstrate how bottleneck size and duration affect heterozygosity and inbreeding.
- Comparative analysis: contrast a moderate bottleneck with a severe, prolonged reduction in population size.

## Frequently asked questions

### What does the simulator calculate?

It calculates final heterozygosity, retention, inbreeding coefficient, harmonic-mean effective population size, and one-generation survival for a focal allele.

### What is the bottleneck population size?

It is the census population size maintained during the bottleneck period, represented as Nb.

### What happens if recovery generations is zero?

The recovery phase is skipped, so the result reflects only the specified bottleneck period.

### How is focal allele survival estimated?

For allele frequency p, one-generation survival is estimated as 1 − (1−p)^(2Nb).

### Is this a stochastic population simulation?

No. It provides deterministic expected values based on the stated formulas and is intended for educational use.

## Related tools

- [Amino Acid Composition Analyzer](https://elysiatools.com/en/tools/amino-acid-composition): Per-residue counts and mol%, group tallies, Kyte–Doolittle GRAVY score, and ProtParam MW from a sequence. Educational use only.
- [Protein Molecular Weight Calculator (from Sequence)](https://elysiatools.com/en/tools/protein-molecular-weight): MW = Σ ProtParam average residue masses + H₂O, with ambiguity-code handling, kDa/mean-residue output, and unmodified-chain caveats. Educational use only.
- [Restriction Fragment Length Calculator](https://elysiatools.com/en/tools/restriction-fragment-length): Exact or averaged restriction-fragment sizes: circular substrates give n fragments from n cuts (wrapping the origin), linear DNA n+1, from cut positions or a site count. Includes 4/6-base recognizer frequencies (256/4096 bp) and agarose resolution advice. Sambrook & Russell / REBASE derived. Educational use only.
- [Transfection Efficiency Calculator (GFP Positive Rate)](https://elysiatools.com/en/tools/transfection-efficiency): GFP reporter transfection scoring: efficiency = GFP+ / total × 100 with a Wilson 95% CI in single mode and per-replicate mean ± SD in replicate mode. Interpretation bands from excellent (≥70%) to low (<10%) with optimization hints. Wilson 1927 / Newcombe 1998 / Kim & Eberwine 2010 derived. Educational use only.
- [Finite State Machine Mealy Moore Karnaugh Minimization Tutor](https://elysiatools.com/en/tools/finite-state-machine-mealy-moore-karnaugh-minimization-tutor): Step-by-step tutor for automata and combinational logic: ε-NFA/NFA → DFA subset construction, Moore minimization, Mealy↔Moore conversion, Karnaugh maps and exact Quine-McCluskey minimization with tables, ASCII diagrams and every round shown.
- [SRS Deck Generator from Frequency List](https://elysiatools.com/en/tools/language-vocab-spaced-repetition-deck-generator): Paste a bilingual vocabulary list and export an Anki-compatible deck that auto-splits each entry into recognition, recall, and cloze cards with POS, IPA, and example sentences, plus an SM-2 scheduling preview.
- [Angular Velocity Converter (rad/s / rpm / deg/s / Hz)](https://elysiatools.com/en/tools/angular-velocity-converter): Convert angular velocity (angular speed) between radian per second (rad/s, SI base), revolutions per minute (rpm = 2π/60 rad/s), degrees per second (deg/s = π/180 rad/s), and hertz (Hz, used as revolution per second = 2π rad/s). Converts via rad/s to the target unit and lists all four equivalents. Note: 1 Hz in angular-frequency context means one full revolution per second, so 1 Hz = 2π rad/s ≈ 6.283185307 rad/s. Reference: vinyl LP 33⅓ rpm ≈ 3.49 rad/s, car engine idle ~800 rpm ≈ 83.8 rad/s.
- [Extended BMR Calculator (Mifflin / Schofield Multi-Formula Comparison)](https://elysiatools.com/en/tools/basal-metabolic-rate-ext): Compare Mifflin-St Jeor, original and revised Harris-Benedict, Schofield (FAO/WHO/UNU), and Katch-McArdle BMR equations side by side with mean and spread in kcal/day. Not medical advice.

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion

## Related content

- [Barcode, QR Code, and Label Tools](https://elysiatools.com/en/hubs/barcode-utility): Compare barcode generation, QR code creation and decoding, UPC/EAN validation, WiFi QR sharing, and printable label tools in one hub.
- [Audio Encoding and Format Conversion Tools](https://elysiatools.com/en/hubs/audio-convert): Compare audio format conversion, bitrate changes, sample-rate conversion, codec swaps, and export tools in one hub for delivery and archive workflows.
- [Image Format Conversion and Animated Export Tools](https://elysiatools.com/en/hubs/image-convert): Compare image format converters for JPG, PNG, GIF, AVIF, WebP, TIFF, ICO, base64, and animation-friendly exports in one hub.
- [JSON Interchange and Format Translation Tools](https://elysiatools.com/en/hubs/json-convert): Compare JSON conversion tools for CSV, YAML, TOML, GraphQL, XML, Markdown, Excel, BSON, EDN, and related structured formats in one hub.
