How to Add Realistic Shadows to Product Photos for E-Commerce
Learn how to add natural-looking shadows to cut-out product photos for Amazon, Shopify, and other e-commerce listings. Remove backgrounds, clean up edges, and generate shadows that make products look expertly photographed.
SEO & Growth
Reviewed by Magic Eraser Editorial ·

A product photo on a white background without a shadow looks wrong. Most people cannot articulate why — they will not say the shadow is missing — but they perceive the product as floating, unanchored, slightly unreal. In physical reality, every object casts a shadow. When an e-commerce listing shows a product without one, the viewer's brain registers a subtle contradiction between what it sees and what it expects. That contradiction reduces the perceived quality and trustworthiness of the listing.
The problem is that removing backgrounds. Which every e-commerce seller must do for marketplace compliance — also removes the original shadow. Background Eraser delivers a clean cutout on transparent, but that cutout placed on white is the floating-product image described above. The missing step is shadow generation: adding back a natural-looking shadow that grounds the product on the surface and restores the visual realism that makes viewers trust the listing.
This tutorial covers the complete workflow for producing e-commerce product images with realistic shadows. From background removal and edge cleanup through shadow generation and export at marketplace-compliant specifications.
- Background Eraser isolates the product from any shooting environment with clean, precise edge extraction.
- Magic Eraser removes background reflections, color spill, and mounting artifacts from the cutout.
- AI Fill generates shadows with correct contact darkness, edge softness, and light-source consistency.
- Products with natural shadows are perceived as higher quality and more trustworthy than floating cutouts.
- Consistent shadow direction across a product catalog creates a cohesive, professional brand presentation.
Why shadows matter for e-commerce conversion
Eye-tracking studies of e-commerce product pages show that viewers spend more time on product images than on any other page element. More than the title, the price, the reviews, or the description. The product image is where the purchase decision begins, and shadows play a specific role in that decision. A shadow anchors the product to a surface, giving it perceived weight and physical presence. Without a shadow, the product appears to hover. Creates a subtle sense that the image is artificial or that the product might not look like the photo in person.
Research from the Baymard Institute confirms that product images affect perceived quality independent of the actual product. Two identical products — same brand, same specifications, same price — receive different quality ratings from shoppers when one has a expertly lit, shadow-grounded product photo and the other has a flat, shadowless cutout on white. The product with the shadow is always rated as higher quality, and shoppers report higher purchase intent for that listing.
For marketplace sellers on Amazon, Etsy, eBay. Shopify, this means that the quality of your product photography directly affects both click-through rate from search results and conversion rate on the product page. Shadows are not a cosmetic detail — they are a conversion factor that compounds across every listing in your catalog.
- Viewers spend more time on product images than on titles, prices, reviews, or descriptions.
- Shadows anchor products to a surface and create perceived weight and physical presence.
- Identical products receive higher quality ratings when shown with natural shadows versus flat cutouts.
- Shadow quality affects both click-through rate from search and conversion rate on the product page.
Preparing the product cutout for shadow work
The shadow generation step only looks natural if the cutout it sits beneath is clean. Preparation starts with Background Eraser to extract the product from its original photo. Whether that was shot on a paper sweep, a kitchen table, or an improvised setup. The extraction needs to handle the product's edge traits: hard edges on rigid products like electronics and packaging, soft edges on fabric and knitted items. Complex semi-transparent edges on glass and clear plastic.
After extraction, inspect the cutout at full zoom. Mainly the base of the product where it will meet the shadow. This is where artifacts from the original shooting are most visible: a line of color spill from a colored surface the product was resting on, a bit of mounting putty used to prop it upright, a reflection of the original background visible in a glossy surface, or a shadow fragment from the original lighting that Background Eraser correctly excluded from the background but incorrectly included with the product. Magic Eraser handles all of these cleanups.
Pay particular attention to the contact edge. The bottom surface of the product that will appear to rest on the shadow surface. If this edge is ragged, has remnant background pixels, or shows an uneven outline, the shadow will look disconnected from the product no matter how natural it is. A few seconds spent cleaning this edge saves the entire composition.
- Background Eraser handles hard edges on rigid products, soft edges on fabric, and semi-transparent glass.
- Inspect the product base at full zoom for color spill, mounting putty, and shadow fragments.
- Clean the contact edge thoroughly — ragged base edges make any shadow look disconnected.
- Glossy product surfaces may retain reflections of the original background that need removal.
Generating natural shadows with AI Fill
A realistic product shadow has three distinct zones that transition smoothly into each other. The contact shadow is the darkest area, sitting directly beneath the product at the point where it touches the surface. This shadow is fairly sharp-edged because there is no distance between the object and the surface for light to wrap around. The cast shadow extends outward from the product in the direction opposite the light source, growing softer and more transparent as it moves away. The ambient shadow is the subtlest component. A very faint darkening of the surface right away surrounding the product that represents the reduction in ambient light caused by the product's presence.
AI Fill generates shadows that follow these physical principles because it has been trained on millions of product photos with real studio lighting. When you apply AI Fill to add a shadow beneath a product cutout, the tool evaluates the product's shape, estimates where a realistic light source would be positioned. Generates a shadow with correct contact density, edge softness gradient, and ambient diffusion. The result looks like the product was photographed on a clean surface with expert lighting. Because the shadow follows the same physics that real studio shadows follow.
Consistency across your catalog requires maintaining the same shadow direction and intensity for all products. Choose a shadow angle that implies a light source from the upper left or upper right. These are the most natural-looking positions because they match the overhead lighting humans experience in everyday life. Apply the same treatment to every product in your catalog. When a customer browses from one listing to the next, the consistent shadow direction creates a coherent visual brand that shares professionalism and attention to detail.
- Natural shadows have three zones: dark contact shadow, softening cast shadow, and subtle ambient shadow.
- AI Fill evaluates product shape and generates physically correct shadow density and edge softness.
- Upper-left or upper-right light angles produce the most natural-looking product shadows.
- Consistent shadow direction across all catalog products creates a cohesive, professional visual brand.
Common shadow mistakes and how to avoid them
The most common mistake is adding a drop shadow. A uniform dark oval beneath the product with consistent opacity and a hard or evenly feathered edge. Drop shadows are a default effect in every graphic design tool. They look unmistakably artificial because real shadows do not behave that way. A real shadow is darker where the object is close to the surface and lighter where the object curves or angles away. A drop shadow is the same darkness everywhere. If your product photos use drop shadows, customers notice, even if they cannot name the problem.
The second mistake is inconsistent light direction across product photos. If one product has a shadow falling to the lower right and the next has a shadow falling to the lower left, the customer's eye detects the inconsistency right away. It looks like the photos came from different sources — different photographers, different brands, different levels of care. This inconsistency undermines the expert image you are building. It is fully avoidable by committing to a single shadow direction for your entire catalog.
The third mistake is shadow intensity that does not match the product. A lightweight product like a phone case or a piece of jewelry should cast a subtle, delicate shadow. A heavy product like a cast-iron pan or a toolbox should cast a denser, more defined shadow. When a delicate earring has the same shadow weight as a power drill, both look wrong. AI Fill accounts for this by generating shadows proportional to the product's visual mass. If you are adjusting shadows manually, keep the weight relationship in mind.
- Avoid uniform drop shadows — real shadows vary in density based on distance from the surface.
- Commit to a single shadow direction across all products to maintain visual consistency.
- Match shadow intensity to product weight — light items need subtle shadows, heavy items need denser ones.
- AI Fill generates proportional shadows automatically, eliminating the most common manual errors.
Sources
- Amazon Product Image Requirements: Technical Standards and Best Practices — Amazon Seller Central
- Product Photography Lighting: Creating Natural Shadows for E-Commerce — Shopify
- How Shadows Affect Purchase Decisions in Online Shopping — Baymard Institute