# Mendelian Punnett Square Calculator

Build a Punnett square for a Mendelian cross and auto-calculate genotype and phenotype ratios. Supports complete dominance, incomplete dominance (blending), codominance, and X-linked (sex-linked) inheritance — with each offspring cell's sex marked for X-linked crosses.

> Canonical page: https://elysiatools.com/en/tools/mendelian-punnett-square

- **Category:** Science & Education

- **Keywords:** punnett square, mendel, genetics, heredity, genotype, phenotype, alleles, dominant, recessive, incomplete dominance, codominance, x-linked, sex-linked, monohybrid, dihybrid, biology

## Overview

A genetics teaching tool for Mendelian crosses:

1. **Define the trait** — name + alleles (dominant first).
2. **Choose the mode** — complete / incomplete / codominance / X-linked.
3. **Enter the two parents' genotypes**.
4. **Get** — a full Punnett grid plus genotype & phenotype ratios. X-linked cells are marked with sex.

Great for biology homework and genetics review.

## Inputs

- **Trait name** (text): Flower color
- **Alleles (dominant first, e.g. A,a or A,B for codominance)** (text): Comma-separated alleles. First is treated as dominant in complete-dominance mode.
- **Inheritance mode** (select)
- **Parent 1 genotype** (text): Autosomal: two alleles (Aa). X-linked: XAXa (female) or XAY (male).
- **Parent 2 genotype** (text): Autosomal: two alleles (Aa). X-linked: XAXa (female) or XAY (male).
- **Display options** (select)

## When to use

- When teaching or studying Mendelian genetics to visualize allele combinations and offspring probabilities.
- When solving genetics homework problems involving complete dominance, incomplete dominance, codominance, or sex-linked traits.
- When calculating precise genotype and phenotype ratios for monohybrid crosses without manual grid drawing.

## How it works

- Enter the trait name and define the alleles, listing the dominant allele first (e.g., A,a).
- Select the inheritance mode: complete dominance, incomplete dominance, codominance, or X-linked inheritance.
- Input the genotypes for both parents, using standard notation like Aa for autosomal or XAXa and XAY for X-linked traits.
- Generate the Punnett square grid alongside calculated genotype and phenotype percentage ratios.

## Use cases

- Biology teachers generating visual aids and answer keys for genetics worksheets.
- Students verifying their homework solutions for monohybrid and sex-linked crosses.
- Genetics hobbyists predicting offspring traits for plants or animals with known genotypes.

## Frequently asked questions

### What inheritance modes does this calculator support?

It supports complete dominance, incomplete dominance (blending), codominance (both alleles expressed), and X-linked (sex-linked) inheritance.

### How do I input genotypes for X-linked crosses?

Use X and Y notation with superscript alleles, such as XAXa for a carrier female and XAY for a male.

### Does the calculator show the sex of the offspring?

Yes, for X-linked crosses, the calculator automatically marks the sex (male or female) of each offspring cell in the grid.

### How should I format the alleles input?

Enter them as comma-separated values, listing the dominant allele first (for example, A,a or A,B).

### Can I display only the Punnett square grid without the ratios?

Yes, you can change the display options setting from 'Full' to 'Grid only' to hide the ratio tables.

## Related tools

- [Periodic Table Studio](https://elysiatools.com/en/tools/periodic-table-studio): Explore a clickable periodic table with live element details, color modes, and linked electron configuration data
- [Physics Kinematics Problem Solver](https://elysiatools.com/en/tools/physics-kinematics-problem-solver): Solve 1D constant-acceleration kinematics problems and 2D projectile motion, with a full step-by-step derivation. Enter any 3 of the 5 quantities (displacement, initial velocity, final velocity, acceleration, time) and the solver finds the other two, showing each formula, the substitution, and the result. For projectiles, enter launch speed/angle/height to get range, time of flight, and max height.
- [Electron Configuration Calculator](https://elysiatools.com/en/tools/electron-configuration-calculator): Look up electron configurations, shell distributions, valence electrons, and orbital diagrams by element symbol or atomic number
- [Acid–Base Titration Curve Tutor](https://elysiatools.com/en/tools/acid-base-titration-curve-tutor): Plot an acid–base titration curve, mark buffer and equivalence landmarks, and explain the Henderson–Hasselbalch steps.
- [A/B Test Significance Calculator](https://elysiatools.com/en/tools/ab-test-significance-calculator): Compute conversion-rate or mean differences, 95%/99% confidence intervals, two-sided p-values (Z-test for proportions, Welch t for continuous metrics), lift, sample size for 80%/90% power, recommended experiment days, plus sequential-testing and Bonferroni multiple-comparison warnings.
- [Capacitor Series / Parallel / Reactance Calculator](https://elysiatools.com/en/tools/capacitor-calculator): Combine capacitors in series/parallel, compute reactance Xc and RC time constant, with schematics and a reactance curve
- [Crystal Structure Explorer](https://elysiatools.com/en/tools/crystal-structure-explorer): Browse ~25 textbook crystal structures with space group, lattice constants, coordination, and a rotatable Three.js 3D ball-and-stick model.
- [Depreciation Calculator](https://elysiatools.com/en/tools/depreciation-calculator): Compare four depreciation methods side by side: straight-line, declining balance (with multiplier, e.g. 2 for DDB), sum-of-the-years'-digits (SYD), and units of production (when yearly usage is provided). Shows book-value curves and a year-by-year depreciation table.

## Samples

- [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 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
- [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
