Pets

Terrarium Size Calculator

Find the right enclosure size for your reptile. Enter your animal's body length and the number of animals to get minimum tank dimensions and gallon recommendations.

Quick Answer

The general rule for reptile enclosures is that the tank length should be at least 2 times the animal's body length. For a 12-inch reptile, you need at minimum a 24-inch long enclosure, which is roughly a 20-gallon long tank. Bigger is always better for your animal's health and enrichment.

Reptile Details

Snout to tail tip at adult size

Only cohabitate compatible species

Minimum Enclosure Size
15 gallons
24" L × 12" W × 12" H minimum
Min Length
24"
2× body length
Min Width
12"
1× body length
Min Height
12"
1× body length

Standard Tank Recommendations

Minimum Fit
20 gallon long
24" × 12" × 16"
Recommended (More Space)
29 gallon
30" × 12" × 18"
Disclaimer:This calculator provides minimum enclosure sizes based on the widely accepted 2× body length rule. Many species have specific habitat requirements (arboreal species need more height, burrowing species need more depth). Always research your specific species and consult a reptile veterinarian for personalized advice. Bigger enclosures are always better for animal welfare.

About This Tool

The Terrarium Size Calculator helps reptile owners and prospective owners determine the correct enclosure size for their animals. Providing adequate space is one of the most fundamental aspects of responsible reptile keeping, and yet it is one of the most common areas where keepers fall short. Pet stores frequently sell enclosures that are far too small, and outdated care guides often recommend sizes that modern herpetological science considers inadequate. This calculator uses the widely accepted minimum standard of enclosure length being at least twice the animal's body length, with adjustments for multiple animals.

The 2x Body Length Rule

The foundational guideline for reptile enclosure sizing states that the enclosure should be at least twice as long as the animal's total body length, measured from snout to tail tip. This ensures the animal can fully stretch out, turn around comfortably, and engage in natural locomotion. The width should be at least equal to the body length, providing enough lateral space for the animal to move naturally without constantly pressing against the walls. Height requirements vary by species: terrestrial species like leopard geckos need less vertical space, while arboreal species like crested geckos and chameleons need enclosures taller than they are long. This calculator uses body length as the baseline height, which works well for semi-arboreal and terrestrial species. For strictly arboreal species, consider doubling the height recommendation.

Why Bigger Is Always Better

The sizes this calculator provides are minimums, not ideals. In the wild, reptiles have access to vast territories. A bearded dragon's natural range can span several hundred square meters. While we cannot replicate wild conditions in captivity, providing the largest enclosure feasible dramatically improves an animal's quality of life. Larger enclosures allow for better temperature gradients with a warm basking spot and a cool retreat, more enrichment opportunities including climbing structures, hides, and digging substrate, and more natural behavior overall. Studies have consistently shown that reptiles in larger enclosures are more active, eat more regularly, display fewer stress behaviors, and live longer. If you can afford the space and cost of a larger enclosure, always size up from the minimum recommendation.

Housing Multiple Animals Together

Cohabitation is a complex topic in reptile keeping. Many species are strictly solitary and should never be housed together, including most species of chameleons, many gecko species, and most snakes. For species that can be cohabitated, such as some tortoise species, certain gecko species in female-only groups, or blue-tongued skinks in bonded pairs, you need to increase floor space significantly. This calculator adds 50 percent more floor area per additional animal, which is a commonly recommended guideline. However, even with adequate space, you must provide multiple hides, basking spots, and feeding stations to reduce competition and stress. Monitor cohabitated animals closely for signs of aggression, stress, or weight loss, and be prepared to separate them immediately if problems arise.

Converting Between Gallons and Dimensions

Reptile enclosures are often sold by gallon rating, which refers to the water volume the tank could hold. This can be misleading because two tanks with the same gallon rating can have very different dimensions. A 40-gallon "breeder" tank measuring 36 by 18 by 16 inches has much more floor space than a standard 40-gallon tank measuring 36 by 13 by 20 inches, making the breeder a better choice for terrestrial species. This calculator recommends specific standard tank sizes that match both the minimum dimensions and volume requirements, so you can shop with confidence. For larger reptiles like adult iguanas, tegus, or large pythons, standard glass aquariums are insufficient and you will need custom-built PVC or wood enclosures.

Species-Specific Considerations

While the 2x rule provides a solid baseline, some species have specific needs that go beyond simple size calculations. Arboreal species like crested geckos, green tree pythons, and chameleons need enclosures that prioritize height over floor space, with plenty of vertical climbing surfaces and foliage. Burrowing species like sand boas and blue-tongued skinks need deep substrate layers of 6 to 12 inches which effectively reduces usable vertical space. Aquatic and semi-aquatic species like Chinese water dragons and certain turtles need both land and water areas, requiring larger overall enclosures. Active species like monitors and tegus need significantly more space than the 2x minimum suggests, and many experienced keepers recommend 3 to 4 times body length for these highly active lizards. Always research the specific needs of your species beyond this calculator's general recommendations.

Frequently Asked Questions

What size terrarium does a bearded dragon need?
An adult bearded dragon (18-22 inches) needs a minimum 120-gallon enclosure (48" x 24" x 24"). Juveniles can start in a 40-gallon breeder but will outgrow it within a year. A 4-foot by 2-foot by 2-foot enclosure is considered the modern standard for adult bearded dragons.
Can I keep my reptile in a smaller tank while it's young?
Yes, juvenile reptiles can be housed in appropriately sized smaller enclosures. However, there's no harm in starting with an adult-sized enclosure right away as long as you provide enough hides and cover for the juvenile to feel secure. Smaller enclosures can actually make it easier to monitor feeding and health in young animals.
Is a 10-gallon tank big enough for a leopard gecko?
A 10-gallon tank (20" x 10" x 12") was once considered acceptable but is now widely regarded as too small for an adult leopard gecko. A 20-gallon long (24" x 12" x 16") is the recommended minimum, and a 40-gallon breeder is ideal. Leopard geckos are more active than many people realize and benefit greatly from extra space.
How do I calculate terrarium size for a snake?
For snakes, the enclosure length plus width should equal or exceed the snake's total body length. A 4-foot ball python needs an enclosure at least 48" long and 24" wide. This calculator's 2x length rule also works well for most snake species.
Does tank shape matter (tall vs. long)?
Absolutely. Terrestrial species (leopard geckos, blue-tongued skinks, most tortoises) benefit from long, wide enclosures with more floor space. Arboreal species (crested geckos, chameleons, green tree pythons) need tall enclosures with vertical climbing space. Always match the tank orientation to your species' natural habitat.
What material is best for a terrarium?
Glass is affordable and widely available but loses heat quickly and can stress animals that see their reflection. PVC enclosures hold heat and humidity better, are lighter, and are the preferred choice for most keepers. Wood (sealed or melamine-coated) is excellent for large custom builds. For tropical species needing high humidity, PVC or sealed wood is best.

Was this tool helpful?