Aquarium Sand Calculator: Calculate Sand Needed

Planning a new aquarium or replacing an existing sand bed? Our Aquarium Sand Calculator helps you estimate how much aquarium sand you need based on your tank dimensions and desired sand bed depth.

Enter your aquarium length, width, and sand depth to get a quick estimate of the sand volume required for your fish tank. This makes it easier to plan your purchase without guessing how many bags you may need.

The right sand depth depends on your aquarium setup. A shallow sand bed may work well for some freshwater tanks, while planted, reef, and marine aquariums may require different depths based on their design and intended use.

How the Aquarium Sand Calculator Helps

Our calculator uses your tank’s footprint and desired sand depth to estimate the amount of sand needed. You can use the result to plan your aquarium setup before purchasing sand.

To get started:

  1. Enter your aquarium’s length.
  2. Enter the width of the tank.
  3. Choose or enter your desired sand bed depth.
  4. Click Calculate to estimate the required sand volume.

The calculator provides a practical starting estimate. Actual sand requirements can vary because different sand types have different grain sizes, densities, and packing characteristics.

Aquarium planning tool

Build the perfect sand bed with confidence.

Calculate sand volume, weight, bag count, and a practical aquascape layout for freshwater, planted, shrimp, or reef tanks.

✓ Free to use✓ Works in cm & inches✓ No sign-up

Aquarium Sand Calculator

Enter your tank details and see the estimate update instantly.

Updated for 2026
1. Tank information
cm
cm
cm
2. Sand settings
cm
3. Advanced options
10%
Subtracts space occupied by rocks, wood, and decorations.
Live aquarium preview5 cm flat bed
Front: 5 cmBack: 5 cm
—litres
—kg sand
—bags

Start faster

Choose a tank preset

One click fills in a realistic starting setup. Adjust anything before calculating.

Your estimate

Results dashboard

The calculator includes your selected displacement and purchase allowance.

Recommended sand to buy

— kgEnter your tank details above to calculate.
▦—bags requiredWaiting for calculation
◒—litres of sand
⌁—average depth
◉—footprint coverage

Sand quantity by bag size

Choose the bag size that gives you the best practical purchase.

—2 kg
—5 kg
—10 kg
—20 kg

Material breakdown

See where the estimated weight goes.

Usable sand
—
Displacement
—
Purchase buffer
—

Personalised guidance

Smart recommendations

📏

Ideal depth

A 5 cm bed is a versatile starting point for most community aquariums.

🪨

Sand choice

Fine silica sand provides a clean, neutral look and is easy to find.

🌱

Planting zones

Keep rooted plants in deeper pockets and leave open space around the front glass.

Plan the hardscape

Simple aquascape layout

Use the open centre for swimming space, then group rocks and planting zones toward the back or sides.

open swimming space
Decorative zones
Place the visual weight off-centre.
Planting zones
Use deeper pockets for rooted plants.
Sand bed
Keep the front edge clean and visible.

Shopping summary

Material estimator

Total sand required—
Number of bags—
Estimated weight—
Selected bag size—

Understand the math

Formula and calculation

Core formula

footprint = length × width
volume (L) = footprint × average depth ÷ 1000
usable volume = volume × (1 − displacement)
weight = usable volume × sand density
bags = ceiling(weight ÷ bag size)
1
Measure the footprintUse the inside length and width of the tank, not the outside frame.
2
Set your depth or slopeFlat beds use one depth. Sloped beds estimate a deeper rear layer for a natural layout.
3
Allow for hardscapeRocks and wood reduce the amount of sand needed, so the displacement setting is subtracted.
4
Round up before buyingThe optional 10% allowance helps cover settling, spills, and future top-ups.

Quick reference

Sand bed depth guide

Use this as a starting point; livestock and plant requirements should always come first.

DepthBest forTypical useWatch for
2–3 cmEasy-clean display bedShrimp, minimalist, quarantineNot enough for deep-rooted plants
4–6 cmGeneral purposeCommunity and planted tanksVacuum in sections, not all at once
7–10 cmNatural planted layoutRoot feeders and sloped aquascapesUse a healthy maintenance routine
10–15+ cmDeep sand bedSpecific biological or marine setupsResearch livestock needs carefully

Compare materials

Sand type gallery

Practical advice

Tips for a healthy sand bed

Rinse before adding

Rinse most inert sands until the water is mostly clear. Follow the product label for active soils.

Add hardscape first

Place rocks and wood securely before adding sand so they cannot shift or undermine the bed.

Vacuum gently

For a shallow bed, lightly vacuum the surface. Avoid removing the entire biological layer at once.

Leave room at the front

A clear front strip makes the layout look deeper and gives you space to clean the glass.

Common questions

Sand calculator FAQ

How accurate is the estimate?

It is a planning estimate. Real results vary with grain size, compaction, tank bracing, uneven floors, and the amount of rock or wood. The purchase allowance is there for those practical differences.

Should I use the tank's full height?

No. Sand is calculated from the footprint and target sand depth. Tank height is shown for context but does not add sand to the estimate.

What displacement percentage should I use?

Use 0–5% for an open sand bed, 10–20% for a typical aquascape, and 20–40% when a large amount of the footprint is occupied by rock, wood, or equipment.

Do I need a deep sand bed?

Only when your livestock, plants, or marine method calls for one. Deeper beds require more careful maintenance and are not automatically better for every aquarium.

Can I use this for a round tank?

Yes. Select Cylinder / round tank and enter the diameter in the length field. The width field is ignored for a cylinder.

A
Aquarium Sand CalculatorA practical planning tool for freshwater and marine hobbyists.

How to Use the Aquarium Sand Calculator

Our Aquarium Sand Calculator makes it simple to estimate the amount of sand needed for your fish tank. You only need your aquarium dimensions, preferred sand bed depth, and measurement unit.

Step 1: Measure Your Aquarium Dimensions

Measure the inside length and width of your aquarium. Use the actual area where the sand will sit rather than the outside dimensions of the tank.

For rectangular aquariums, these two measurements determine the tank’s footprint. Enter them into the calculator using the same measurement unit.

Step 2: Choose Your Desired Sand Bed Depth

Decide how deep you want the aquarium sand bed to be. Your ideal depth depends on your aquarium setup, aquascaping goals, and whether you are using freshwater, planted, reef, or marine sand.

Enter the desired sand depth into the calculator. Avoid choosing a depth simply because you want more sand. A deeper sand bed changes the amount of material required and can affect how your aquarium is maintained.

Step 3: Select Your Measurement Unit

Choose the measurement unit that matches your tank dimensions and sand depth. Common options include inches, feet, centimeters, and other supported units.

Using consistent units helps prevent calculation errors. If your measurements are in different units, convert them before calculating.

Step 4: Calculate the Required Sand

After entering your aquarium dimensions and sand depth, click the Calculate button.

The calculator uses the tank footprint and desired sand depth to estimate the volume of sand required. The basic calculation for a rectangular tank is:

Sand Volume = Length × Width × Sand Depth

The result represents an estimated volume, not an exact bag count. Sand grain size, density, and packing can affect the actual amount needed.

Step 5: Review the Recommended Amount

Review the calculated sand volume before purchasing your aquarium sand. Use the result as a planning estimate and compare it with the package size or weight provided by the sand manufacturer.

If you are creating slopes, leaving areas uncovered, or adding rocks and decorations, your actual sand requirement may differ from a simple uniform-depth calculation.

What Is an Aquarium Sand Calculator?

An aquarium sand calculator is a tool that estimates how much sand you need to create a specific sand bed in a fish tank. It uses the aquarium’s footprint and your desired sand depth to calculate the approximate volume of sand required.

Definition and Purpose

The main purpose of an aquarium sand calculator is to remove guesswork when planning a sand bed. Instead of estimating the amount by eye, you can enter your tank measurements and target depth to get a consistent starting estimate.

This is useful when setting up a new aquarium, replacing an old sand bed, or planning a redesigned aquascape.

How Sand Quantity Is Calculated

For a rectangular aquarium, the basic volume calculation is:

Length × Width × Sand Depth = Sand Volume

For example, a larger tank footprint or deeper sand bed will require more sand. The calculator applies this relationship to your measurements and can convert the result into the supported volume units.

Keep in mind that aquarium sand is sold by different measures, including weight and bag size. Volume alone does not determine the exact weight because sand density varies between products.

Why Accurate Sand Estimation Matters

Estimating sand correctly helps you plan your aquarium setup and avoid buying substantially more or less material than needed.

Too little sand may leave parts of the tank floor exposed or prevent you from achieving the intended sand bed depth. Buying substantially more than necessary can increase costs and leave you with unused material.

A calculator gives you a practical estimate before you purchase your sand.

Who Should Use This Calculator?

This calculator can help freshwater aquarium owners, planted tank hobbyists, reef keepers, and marine aquarium beginners estimate their sand requirements.

It is especially useful when you know your aquarium dimensions and have a target sand bed depth in mind. For custom layouts with slopes, contours, or large decorations, treat the result as a starting estimate and adjust it to match your planned design.

Why the Right Amount of Sand Matters

Choosing the right amount of aquarium sand helps you create a stable, attractive, and practical aquarium environment. The ideal amount depends on your tank dimensions, intended sand bed depth, and the type of aquarium you are setting up.

  • Creates a natural aquarium appearance: A properly sized sand bed gives the aquarium floor a clean, natural look and provides a foundation for your aquascape.
  • Supports bottom-dwelling fish: Many bottom-dwelling species interact with the substrate while searching for food or moving around the tank. Fine, aquarium-safe sand can be appropriate for species that prefer sandy surfaces.
  • Helps root aquatic plants: Sand can provide a base for certain aquatic plants. However, plant growth also depends on the plant species, root structure, nutrients, and overall aquarium conditions.
  • Encourages beneficial bacteria: Aquarium surfaces, including the sand bed, can provide areas where beneficial microorganisms colonize. These microorganisms contribute to biological filtration as part of the aquarium’s overall ecosystem.
  • Supports reef and marine ecosystems: Aquarium sand is commonly used in reef and marine setups to create a natural-looking seafloor and support the desired aquascape.
  • Helps manage the sand bed: An appropriate depth makes the substrate easier to maintain. Extremely deep or poorly maintained sand beds can collect uneaten food, waste, and other organic material, so regular aquarium maintenance remains important.

How Aquarium Sand Is Calculated

An aquarium sand calculation starts with the area of the tank floor and the desired sand bed depth. The calculator then determines the approximate volume of sand required.

For a rectangular aquarium, the basic calculation is:

Sand Volume = Tank Length × Tank Width × Sand Bed Depth

The final amount you purchase may differ from the calculated volume because aquarium sand products vary in density, grain size, and how tightly the grains pack.

Tank Length

Tank length is the measurement from one inside end of the aquarium to the other. It determines one dimension of the tank’s floor area.

Use the actual usable floor length when possible. If rocks, built-in features, or other structures will occupy part of the bottom, your final sand requirement may be somewhat different.

Tank Width

Tank width measures the usable distance from the front to the back of the aquarium.

Length multiplied by width gives you the tank’s approximate floor area. This area is then multiplied by your selected sand bed depth to estimate the required sand volume.

Desired Sand Bed Depth

Your sand bed depth is how thick you want the sand layer to be across the aquarium floor.

The deeper the sand bed, the greater the volume of sand required. Your target depth should match the needs and design of your particular aquarium rather than using a single depth for every setup.

Sand Density

Sand density describes how much a specific amount of sand weighs. Different aquarium sands can have different densities because of their material, grain size, and composition.

This matters when converting a calculated sand volume into an estimated weight. Two products with the same volume may not have exactly the same weight.

For this reason, use the manufacturer’s stated product information when converting volume into purchase weight.

Unit Conversions

Your aquarium dimensions and sand depth must use compatible units for an accurate calculation.

For example, if your tank length and width are entered in inches, the sand depth should also be entered in inches. The calculator can then convert the calculated volume into the appropriate supported unit.

Keeping your measurements consistent reduces conversion errors and gives you a more reliable estimate for your aquarium sand purchase.

Choosing the Ideal Sand Bed Depth

There is no single sand depth that works for every aquarium. The right depth depends on your tank design, livestock, plants, maintenance routine, and whether you are creating a freshwater, planted, reef, or marine setup.

Thin Sand Bed

A thin sand bed uses a relatively shallow layer of sand across the aquarium floor. It can create a clean, natural appearance while using less material.

This approach can work well for aquariums where sand is mainly decorative or where easy cleaning and maintenance are priorities. A thinner layer is also easier to vacuum without removing large amounts of sand.

Standard Sand Bed

A standard sand bed provides enough depth to create a defined substrate layer without making the aquarium floor excessively deep.

It is a practical choice for many freshwater and community aquariums. The exact depth should be based on the needs of your fish, plants, and aquascape rather than a universal rule.

Deep Sand Bed (DSB)

A deep sand bed (DSB) uses substantially more sand than a typical decorative substrate layer. It is sometimes used in marine aquarium systems as part of a specific aquarium design.

Deep beds require careful planning and maintenance. Simply adding extra sand does not automatically provide biological benefits, so consider the intended purpose and management requirements before choosing a DSB.

Sand Depth for Planted Aquariums

Planted aquariums may require enough substrate depth to give rooted plants room to establish themselves. However, requirements vary considerably between plant species.

Consider the root structure of your plants, whether you use root tabs or another nutrient source, and whether the sand is being used alone or with another planting layer. A deeper sand bed is not automatically better for every planted tank.

Sand Depth for Reef Aquariums

Reef aquariums can use different sand-bed designs depending on the livestock, aquascape, and maintenance approach.

Some reef tanks use a shallow decorative sand bed, while others are designed around deeper beds. Before selecting a depth, consider the needs of your marine livestock and the maintenance requirements of the chosen setup.

Types of Aquarium Sand

Different types of aquarium sand have different properties, appearances, and ideal applications. Always verify that the product is suitable for aquarium use and compatible with your livestock before adding it to the tank.

Silica Sand

Silica sand is commonly composed primarily of silicon dioxide and can provide a light, natural-looking substrate.

It can be useful in freshwater aquariums when the specific product is clean, aquarium-safe, and appropriate for the intended setup. Check the manufacturer’s specifications before use, especially if water chemistry is important to your aquarium.

Aquarium Sand

Aquarium sand is a broad category covering commercially prepared sands designed for aquarium use.

These products are available in different grain sizes and colors. Their main advantage is convenience because products are typically marketed specifically for aquarium environments. Choose a grain size and composition that suit your fish, plants, and maintenance routine.

Pool Filter Sand

Pool filter sand is designed for swimming-pool filtration systems rather than specifically for aquariums. Some aquarists use suitable pool filter sand in freshwater tanks because of its relatively uniform grain size and availability.

If considering it for an aquarium, verify the product’s material, additives, coatings, and manufacturer specifications. Do not assume every pool filter sand product is aquarium-safe.

Aragonite Sand

Aragonite sand is a calcium carbonate-based marine substrate. It is commonly used in saltwater and reef aquariums because it can interact with seawater chemistry and provide a natural-looking marine substrate.

It is particularly suitable for aquarists who want a substrate associated with reef and marine environments. Its effects on water chemistry depend on the aquarium’s conditions and the specific product.

Live Sand

Live sand is marketed as marine aquarium sand containing beneficial microorganisms and other naturally occurring organisms.

It is commonly used when setting up or establishing saltwater and reef aquariums. Follow the product’s handling and preparation instructions because live sand is intended to preserve its biological contents.

Black Aquarium Sand

Black aquarium sand provides a dark, dramatic background that can make brightly colored fish, plants, and decorations stand out.

It can be used in both freshwater and some marine aquarium designs, depending on the specific product. Check its composition and aquarium compatibility before purchasing, particularly if you need the substrate to have a specific effect on water chemistry.

When choosing aquarium sand, consider more than color and appearance. Grain size, material, water-chemistry effects, livestock compatibility, and maintenance requirements should all be considered before making your selection.

Choosing the Best Sand for Your Aquarium

The best aquarium sand depends on your tank type, livestock, plants, and maintenance routine. There is no single sand product that is ideal for every aquarium.

Freshwater Aquariums

For freshwater aquariums, choose an aquarium-safe sand with a grain size that suits your fish and cleaning routine. Neutral sands are often useful when you do not want the substrate to significantly influence water chemistry.

Consider the needs of your fish before selecting very fine or very coarse sand. The color and texture should also complement your aquarium’s overall design.

Saltwater Aquariums

Saltwater aquariums can use marine-specific sands such as aragonite or other products designed for marine systems.

When choosing sand, consider its composition and potential effect on water chemistry. Always check the manufacturer’s specifications to confirm that the product is appropriate for saltwater use.

Reef Tanks

Reef tanks commonly use marine aquarium sand that fits the needs of the livestock and aquascape.

Aragonite-based products are a common choice because they are associated with natural marine environments. However, the ideal sand type and depth depend on the specific reef setup and maintenance approach.

Planted Tanks

For planted aquariums, consider sand that allows plants to establish their roots while remaining manageable during maintenance.

Very fine sand can compact, while extremely deep sand can make maintenance more difficult. Plant species, root structure, and additional nutrient sources should all be considered when selecting the substrate.

Shrimp Tanks

Shrimp aquariums benefit from a substrate that is safe for shrimp and appropriate for the aquarium’s water parameters.

Fine sand can provide a natural-looking environment and allows food particles to remain visible for monitoring. Choose a product that does not contain unwanted additives or materials that could affect your shrimp.

Bottom-Dwelling Fish Aquariums

Bottom-dwelling fish often interact directly with the substrate, so grain size and texture are especially important.

Smooth, aquarium-safe sand can be a suitable choice for species that naturally forage through sandy environments. Avoid sharp or abrasive materials when selecting sand for fish that spend significant time on the tank floor.

Common Aquarium Sand Sizes

Aquarium sand is available in different grain sizes. The best choice depends on your livestock, plants, aquarium type, and preferred maintenance routine.

Sand TypeGrain SizeBest ForRecommended Sand Depth
Fine sandVery small, powder-like grainsDelicate bottom dwellers, natural-looking setupsShallow to moderate
Medium sandSmall, clearly visible grainsGeneral freshwater and community tanksShallow to moderate
Coarse sandLarger grains with more space between particlesAquascapes where easier water movement is preferredShallow to moderate
Marine sandVaries by productSaltwater and reef aquariumsBased on tank design
Aragonite sandFine to coarse, depending on productReef and marine systemsBased on livestock and setup

Note: Grain-size ranges and suitable depths vary by manufacturer and aquarium design. Always check the product specifications before choosing a specific sand depth.

Common Sand Calculation Mistakes

Even a simple aquarium sand calculation can produce an inaccurate estimate if the measurements or assumptions are incorrect. Avoid these common mistakes when planning your sand bed.

Choosing Excessive Sand Depth

Adding more sand does not automatically make an aquarium better. An unnecessarily deep sand bed requires more material and can make cleaning and maintenance more difficult.

Choose a depth based on your aquarium’s purpose, livestock, plants, and planned aquascape.

Using Construction Sand Instead of Aquarium-Safe Sand

Construction sand is not automatically suitable for aquarium use. It may contain unwanted materials, contaminants, coatings, or other substances that are inappropriate for aquatic environments.

Choose a product specifically confirmed as safe for your intended aquarium setup.

Forgetting to Rinse Sand

Many non-live aquarium sands should be rinsed according to the manufacturer’s instructions before being added to the aquarium. Unrinsed sand can contain fine dust that makes the water cloudy.

Do not automatically rinse live sand unless the manufacturer specifically instructs you to do so, because rinsing can remove or damage its intended biological contents.

Ignoring Tank Decorations and Hardscape

Rocks, driftwood, structures, and other hardscape can occupy part of the aquarium floor. If they cover a significant area, a simple length × width × depth calculation may overestimate the amount of sand required.

Consider the actual area you plan to cover when making a more precise estimate.

Measuring Incorrect Tank Dimensions

Using the wrong tank length, width, or sand depth can significantly change the calculated result.

Whenever possible, measure the usable interior dimensions of the aquarium and keep all measurements in compatible units before calculating the required sand volume.

Tips for Installing Aquarium Sand

Installing aquarium sand correctly can make your setup cleaner, easier to maintain, and less likely to become cloudy during filling. The exact preparation method can vary by sand type, so always follow the manufacturer’s instructions.

Rinse Sand Thoroughly Before Use

For regular dry aquarium sand, rinse it thoroughly with clean water before adding it to the tank if the manufacturer recommends rinsing. This helps remove excess dust and fine particles that can make the aquarium cloudy.

Avoid rinsing live sand unless the product instructions specifically recommend it, as live sand is intended to retain its biological contents.

Add Sand Before Filling the Aquarium

Adding sand before filling the aquarium makes it easier to create an even sand bed or planned slope.

Place the prepared sand carefully on the bottom of the empty tank. Avoid dropping large amounts from a height, which can create unnecessary dust and uneven areas.

Pour Water Slowly to Avoid Disturbing the Sand Bed

After adding the sand, pour water slowly and gently. Directly pouring water onto the sand can create craters, move the substrate, and cloud the aquarium.

You can place a clean plate, shallow container, or similar surface on the sand and pour water onto it to reduce direct water pressure.

Level or Slope the Sand Depending on Your Aquascape

A level sand bed provides a simple, uniform appearance and can be easier to maintain.

A gentle slope can add visual depth to an aquascape by making the back of the aquarium appear higher than the front. Use the layout that best suits your aquarium design and livestock.

Avoid Compacting the Sand Excessively

Avoid deliberately pressing or tightly packing the sand. Excessive compaction can reduce the spaces between individual grains and may make maintenance more difficult.

Allow the sand to settle naturally after installation. Regular maintenance should focus on keeping the substrate appropriate for your aquarium rather than trying to compress it into a dense layer.

Getting the right amount of aquarium sand is easier when you know your tank dimensions and desired sand bed depth. The Aquarium Sand Calculator gives you a quick estimate based on the space you want to cover, helping you plan your aquarium setup before buying sand.

Whether you are setting up a freshwater aquarium, planted tank, reef aquarium, or marine setup, use the calculated result as a practical starting point. Remember that sand density, grain size, slopes, and hardscape can affect the final amount you need.

Calculate Your Aquarium Sand Now

Enter your aquarium dimensions and preferred sand depth to estimate the sand volume needed for your tank.

Frequently Asked Questions

Find clear answers to common questions about aquarium sand, sand bed depth, and sand calculations.

The amount of sand depends on your aquarium's length, width, and desired sand bed depth. Use the Aquarium Sand Calculator to estimate the required sand volume. Your final purchase amount may vary because sand density and packing differ between products.
There is no single ideal depth for every aquarium. A shallow sand bed can work well for decorative setups, while planted, marine, and specialized aquariums may require different depths. Choose a depth based on your livestock, plants, aquascape, and maintenance needs.
For a rectangular aquarium, multiply the tank length by the tank width and desired sand depth. This gives the approximate sand volume required. The result may need adjustment if rocks, driftwood, or other hardscape covers part of the tank floor.
Neither sand nor gravel is universally better. Sand provides a fine, natural-looking surface and can suit many bottom-dwelling fish, while gravel offers larger spaces between particles and may be easier to work with for certain aquarium setups. Choose based on your livestock, plants, water chemistry, and maintenance preferences.
Yes, sand and gravel can be used together in some aquarium designs. However, the smaller sand particles tend to settle into the spaces between larger gravel particles over time. If you combine them, consider how the materials will affect the appearance and maintenance of your substrate.
The best sand depends on your fish, plants, and water chemistry. Aquarium-specific sand, suitable silica-based sand, and some other inert products can work well in freshwater tanks when confirmed aquarium-safe. Check the product's composition and manufacturer instructions before use.
A deep sand bed (DSB) is a substantially deeper layer of aquarium sand than a typical shallow or decorative bed. It is used in some marine aquarium systems as part of a specific setup. A DSB requires careful planning and maintenance, and adding extra sand alone does not automatically provide special biological benefits.
Most dry aquarium sands should be rinsed according to the manufacturer's instructions before use to remove excess dust and fine particles. Live sand should generally not be rinsed unless the manufacturer specifically says to do so, because rinsing can remove its intended biological contents.
Yes. Sand occupies physical space inside the aquarium, so the actual water volume will be lower than the tank's total empty volume. Rocks, driftwood, equipment, and other decorations also displace water.
An aquarium sand calculator provides a useful estimate, not an exact purchase quantity. The calculation is based on your tank dimensions and target sand depth, while actual requirements can vary due to sand density, grain size, packing, slopes, and hardscape.
A simple calculator usually assumes a consistent sand depth across the tank. For a sloped bed, use an approximate average depth between the lowest and highest points, then calculate the volume. The actual amount may still vary depending on the shape of the slope and hardscape placement.
Yes. You can use it to estimate the volume of sand needed for a reef aquarium based on the tank footprint and planned sand depth. For marine and reef systems, also consider the specific sand type, livestock requirements, and manufacturer's recommendations when deciding how much to purchase.
Scroll to Top