An animation shows a stack of boxes slowly reducing in number to arrive at an optimal suite of boxes for packing items as part of Amazon's PackOpt system
By the end of 2022, about 90% of all boxes shipped by Amazon will be sent from an optimized box suite, thanks to implementation of the pioneering web-based PackOpt tool.

How Amazon learned to cut its cardboard waste

Pioneering web-based PackOpt tool has resulted in an annual reduction in cardboard waste of 7% to 10% in North America, saving roughly 60,000 tons of cardboard annually.

In a world of ideal sustainability, every customer order received by Amazon that required a box would ship in a box tailored precisely to the size of its contents to minimize cardboard (corrugate) waste for the customer and maximize the efficiency of order fulfillment.

But with an ever-changing catalogue of hundreds of millions of items and multiple items often shipped in a shared box, this dream scenario would require a near-infinite range of box sizes standing ready at Amazon’s fulfillment centers (FCs).

While Amazon works toward producing right-sized boxes for each shipment, the current solution to minimizing waste is to furnish every fulfillment center with a limited suite of cardboard box options. These suites vary depending on the type of items being fulfilled. For example, some FCs are focused on shipping single or multiple items that have been sorted automatically by robots and packed by Amazon associates.

Related content
A combination of deep learning, natural language processing, and computer vision enables Amazon to hone in on the right amount of packaging for each product.

In North America, single items shipped from sortable FCs that require a box, with some exceptions, are typically shipped within one of a finite number of box sizes. Multiple items being shipped together are packed into a box drawn from a different suite of boxes that are designed for a larger and heavier payload.

Another type of FC, known as non-sortable, deals with larger items that require oversized boxes — patio furniture, for example — and these FCs need yet another suite of boxes.

The question that Amazon has addressed with increasing success over the past few years is this: Given the items typically shipped in a particular Amazon region, marketplace, or FC, what is the optimal box suite?

That answer has now been embodied in a pioneering web-based tool called PackOpt that is being embraced by Amazon managers all over the world.

By the end of 2022, about 90% of all boxes shipped by Amazon will be sent from an optimized box suite. In North America, applying PackOpt technology has resulted in an annual reduction in cardboard waste of 7% to 10%, saving roughly 60,000 tons of cardboard annually. In emerging countries such as Singapore, PackOpt has delivered more than double that percentage efficiency.

Matrix revolutions

David Gasperino, an Amazon principal research scientist, led the technical development of PackOpt, which is helping Amazon’s stakeholders to not only minimize the amount of “air” shipped to customers, but also helping Amazon deliver on its Climate Pledge commitment to reaching net-zero carbon emissions across its business by 2040.

Arriving at the perfect suite of boxes is incredibly difficult, says Gasperino, partly because the number of possibilities is enormous.

This problem belongs to a theoretical class of problems called ‘NP hard’: essentially, no one knows if there's a really efficient algorithm to solve them.
Renan Garcia

To imagine the challenge in the simplest terms, first picture a matrix 100+ million rows deep — these represent shipments over a time period within a given region. Each of the 20,000 or so columns on the matrix, meanwhile, represents a candidate box of various dimensions that might become part of a suite of boxes.

“To create an optimal set of boxes, you need to select a small subset of columns to pack all of the shipments, and those columns must lead to the smallest overall box volume when you sum it all up,” explains Gasperino.

It is a hard challenge — literally.

“This problem belongs to a theoretical class of problems called ‘NP hard’: essentially, no one knows if there's a really efficient algorithm to solve them,” says Renan Garcia, a principal research scientist who helped to design PackOpt’s optimization framework (NP Hard is the same class of problem as the infamous “traveling salesman problem”).

The sheer size of the matrix is a challenge, says Garcia. “The matrix that you need to build is so big, you can't even store it in memory.”

Related content
Amazon joins the US DOE’s Bio-Optimized Technologies to keep Thermoplastics out of Landfills and the Environment (BOTTLE™) Consortium, focusing on materials and recycling innovation.

The team addressed this computational tractability issue in several ways. First, to simplify the problem their approach narrows the range of candidate-box dimensions to 2-inch increments in any direction before the first phase of iterative improvements, reducing the initial set of candidate boxes into the hundreds.

After the optimizer discovers the best candidates in this “coarse” set of boxes, it will take those best prospects as a starting point and search again, this time using 1-inch dimensional increments, and so on toward finer dimensions.

“Theoretically, the algorithm will converge on a high-quality box suite no matter where you start,” says Garcia.

The team also employed process parallelization across multiple computational cores to break the problem into smaller chunks.

“Multiple cores can be doing this in parallel, exploring alternate solutions. And every so often they communicate their best solution back to each other,” says Garcia. The result: PackOpt can solve in minutes what previously took weeks of computation time.

3D Tetris

PackOpt for box suites shipping single items launched in 2018. A year later, an enhanced version was capable of identifying the best box suite for shipments containing multiple items in the same box.

For this iteration, the team added a high-performance algorithm that very rapidly determines how the different items to be delivered together can be configured to fit inside a candidate box — think 3D Tetris. PackOpt also knows, for example, that foldable or compressible items such as clothing can easily be slotted in around other, more solid items.

Related content
The story of a decade-plus long journey toward a unified forecasting model.

In theory, this meant packing more items into better-fitting boxes. But did it work in practice?

“One of our colleagues, Neb Getaneh, designed and conducted studies in the Amazon Packaging Lab to quantify the impact of packaging boxes with less air due to size and fitting algorithm optimization,” says Gasperino. “And we did not see any degradation in packing performance.”

But creating a clever algorithm doesn’t automatically translate into real-world impact.

“There are many different steps that must happen between solving this optimization problem and actually delivering optimized packaging to our customers’ doorsteps,” says Gasperino. “We needed the regional packaging leads all over the world, who aren’t scientists, to quickly understand how to use PackOpt and to see the economic value in it for themselves, and eventually become the champions for packaging optimization.”

Democratizing the tool

Ease of use would be critical in the push to democratize the tool.

“PackOpt’s algorithms have about 25 different parameters and they're all scientific in nature,” Garcia says. “We didn’t want the user to worry about that kind of thing, so we abstracted these parameters away, behind the scenes.”

Gasperino and team also partnered with AWS ProServe consultants to design and build a streamlined web app to democratize use of PackOpt. The resulting user interface is simple, essentially requiring two inputs: historical shipment data of the region aiming to optimize their boxes, and the dimensions of the boxes in their current suite.

“PackOpt will then simulate how well your products fit in your current boxes, giving you a total cardboard weight, box utilization rate, and packaging volume — among many other metrics — and compare those metrics with an optimized box suite,” says Chris Collins, a support engineer who helped develop the PackOpt web tool.

Related content
How Amazon’s scientists developed a first-of-its-kind multi-echelon system for inventory buying and placement.

If a significant improvement is revealed, there is an immediate business and sustainability case for optimizing that suite with boxes of more appropriate dimensions. PackOpt can also identify if increasing the number of box options in a given suite will boost efficiency significantly as well as automatically track savings after teams have deployed their suite.

“The savings tracking function was developed to help stakeholders quantify the impacts of their optimized box suites in a scalable manner,” Collins explains. “This function could also be used to help the stakeholder keep their finger on the pulse of the optimized packaging suite, knowing that if the savings metrics begin to fall off it could signal to the team the need to re-optimize the current package selections.”

Another of the key metrics PackOpt reveals is air per shipment.

“It’s understandably a hot topic with Amazon customers who receive an order with too much air in the box compared with the item itself,” says Collins. “PackOpt helps improve our customer experience by really driving down such shipments.”

The word gets out

PackOpt has been embraced in fulfillment centers around the world. After proving the tool’s operational effectiveness in North America, Amazon Japan was first to show a keen interest and develop its own box suite.

“The products going through our Japan FCs are different to those going through North America’s, so there's no reason the box suites should be the same across those two regions,” notes Gasperino.

“Using PackOpt has simplified my team’s work significantly,” says Myles Lefkovitz, a customer packaging experience manager in Tokyo. “We’ve been able to accomplish things that simply wouldn’t have been possible without it and driven down our packaging costs.”

Use of the tool quickly spread around the world at the regional level. But such is the power and flexibility of PackOpt, it is increasingly being used at a more granular level by Amazon stakeholders, says Collins.

See Amazon's Bengalaru research office
Research in Bengaluru spans numerous disciplines, including fraud detection, information retrieval, advertising, automatic speech recognition, and operations.

“In India, for example, customers’ purchasing behavior, and the items purchased, vary vastly across the country, so managers at Amazon India have used PackOpt to tailor bespoke box suites for each fulfillment center.”

“Packaging optimization is a crucial part of Amazon’s commitment to The Climate Pledge and reducing waste on behalf of customers,” says Alex Hartford, business lead for packaging optimization. “In a company the scale of Amazon, even seemingly small optimizations in material reduction make a big impact not only in terms of carbon impact, but also on Amazon’s ability to lower our cost structures and spin the Amazon flywheel.”

In addition to different Amazon regions selling different products, as much as a third of a given region’s Amazon catalogue might change from one year to the next, meaning the product profile is forever changing. Moreover, new packaging types — such as recycled padded mailers or poly bags — also affect the optimal box suite. As a result, PackOpt’s monitoring mission is ongoing.

Amazon itself is a nested packing problem, right? You put customer orders inside boxes, you put boxes inside tote bags, you put tote bags inside trucks … we need to optimize the dimensions of all of these.
Renan Garcia

Its creators envision how the technology could usefully spill over to the wider Amazon.

“Amazon itself is a nested packing problem, right?” says Garcia. “You put customer orders inside boxes, you put boxes inside tote bags, you put tote bags inside trucks … We have storage facilities of all shapes and sizes, and we need to optimize the dimensions of all of these.”

In fact, Renan has begun applying the underlying PackOpt concepts to related applications throughout Amazon. For example, he has partnered with colleagues from Last Mile Transportation to redesign Amazon Robotics pods for outbound packages in sortation centers.

The team developed a local search framework to solve this more challenging nested packing variant (products in packages, packages in bins, and bins in pods) which generates designs requiring 33% fewer pods and leads to more efficient use of precious facility space.

“This sort of optimization opportunity exists throughout our supply chain,” says Hartford. “It is critical that we look at other parts of our network to see where we can apply both the fitting algorithms that we've developed and the optimization tools.”

Related content

US, WA, Seattle
We are looking for a Principal Applied Scientist to drive the research and development of real-time multimodal conversational AI. You will operate across two focus areas: advancing foundation models for speech and audio, and building the post-training systems (reward modeling, reinforcement learning) that shape natural, human-like conversational behavior. You will be the expert in your area while contributing across the full model lifecycle — from pre-training and architecture design through post-training alignment and real-time deployment. You will work at the frontier of what's possible in conversational AI, with the compute, data, and runway to pursue problems that few teams in the world have the resources to tackle. As a Principal Scientist, you will set the technical direction for your research area, influence the broader roadmap, and work closely with inference engineers to ensure your models are designed for real-time production deployment from inception. Key job responsibilities Foundation Model Scaling - Build and train large-scale multimodal foundation models for real-time speech and audio generation, from architecture design through production-scale training - Advance the scaling and efficiency of conversational modes, including the relationship between data, model size, and real time performance. - Design model architectures informed by hardware constraints and inference requirements, working with inference engineers to ensure models are servable from inception - Develop training methodologies for multimodal models that jointly process and generate speech, language, and audio in real-time streaming contexts Post-Training & Reinforcement Learning - Design and build reward models and reward functions for speech systems — capturing naturalness, fluency, conversational quality, and real-time responsiveness - Develop and apply reinforcement learning methods to shape conversational behavior — teaching models natural timing, responsiveness, and fluid interaction - Build the post-training pipeline from SFT through RL alignment, optimized for real-time multimodal outputs rather than text-only generation - Design evaluation frameworks that capture the quality dimensions unique to real-time conversation Real-Time Perception & Generation - Advance the team's capabilities in real-time perception - Work at the intersection of model architecture and production constraints to ensure multimodal capabilities function within hard real-time latency budgets
US, CA, Sunnyvale
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Member of Technical Staff with a strong deep learning background, to build industry-leading Generative Artificial Intelligence (GenAI) technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Member of Technical Staff with the AGI team, you will lead the development of algorithms and modeling techniques, to advance the state of the art with LLMs. You will lead the foundational model development in an applied research role, including model training, dataset design, and pre- and post-training optimization. Your work will directly impact our customers in the form of products and services that make use of GenAI technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in LLMs. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
US, WA, Redmond
We are searching for a talented candidate with experience in orbital mechanics, orbit determination, launch vehicle trajectories, and launch vehicle mission planning. In this position, a successful candidate would serve as a Research Scientist in support of Amazon Leo’s constellation with particular focus on Launch Vehicle support. Strong analysis skills are required to develop engineering studies of complex large-scale dynamical systems. This position requires demonstrated expertise in computational analysis automation and tool development. Export Control Requirement: Due to applicable export control laws and regulations, candidates must be a U.S. citizen or national, U.S. permanent resident (i.e., current Green Card holder), or lawfully admitted into the U.S. as a refugee or granted asylum. Key job responsibilities Working with the Leo GNC team, you will: • Perform spacecraft maneuver or navigation analysis in support of multi-disciplinary trades within the Amazon Leo team. • Contribute to prototype software development of flight algorithms. • Test and assess navigation software for integration into flight systems. • Assess and trouble-shoot the performance of Leo on-board GNSS hardware and software systems. • Work closely with GNC engineers to manage on-orbit performance and develop flight dynamics operations processes. • Manage engineering trades as needed for various launch vehicle mission designs. • Support Leo’s Launch Vehicle Mission Management team with technical expertise in Launch Vehicle trajectory requirements specification • Evaluate Launch Vehicle performance and compliance with mission requirements • Develop tools to support Mission Management planning for over 80 launches! • Work collaboratively with launch vehicle system technical teams About the team The Flight Dynamics team is responsible for the guidance, navigation, control and safety of the spaceflight of the Amazon Leo constellation. This team provides solutions to spaceflight challenges in constellation design, orbit selection, launch vehicle insertion requirements, navigation, trajectory design, space situational awareness, and space traffic coordination.
US, CA, Sunnyvale
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Member of Technical Staff with a strong deep learning background, to build industry-leading Generative Artificial Intelligence (GenAI) technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Member of Technical Staff with the AGI team, you will lead the development of algorithms and modeling techniques, to advance the state of the art with LLMs. You will lead the foundational model development in an applied research role, including model training, dataset design, and pre- and post-training optimization. Your work will directly impact our customers in the form of products and services that make use of GenAI technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in LLMs. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
US, CA, Sunnyvale
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Member of Technical Staff with a strong deep learning background, to build industry-leading Generative Artificial Intelligence (GenAI) technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Member of Technical Staff with the AGI team, you will lead the development of algorithms and modeling techniques, to advance the state of the art with LLMs. You will lead the foundational model development in an applied research role, including model training, dataset design, and pre- and post-training optimization. Your work will directly impact our customers in the form of products and services that make use of GenAI technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in LLMs. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
US, CA, Sunnyvale
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Member of Technical Staff with a strong deep learning background, to build industry-leading Generative Artificial Intelligence (GenAI) technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Member of Technical Staff with the AGI team, you will lead the development of algorithms and modeling techniques, to advance the state of the art with LLMs. You will lead the foundational model development in an applied research role, including model training, dataset design, and pre- and post-training optimization. Your work will directly impact our customers in the form of products and services that make use of GenAI technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in LLMs. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
US, CA, Sunnyvale
The Artificial General Intelligence (AGI) team is looking for a passionate, talented, and inventive Member of Technical Staff with a strong deep learning background, to build industry-leading Generative Artificial Intelligence (GenAI) technology with Large Language Models (LLMs) and multimodal systems. Key job responsibilities As a Member of Technical Staff with the AGI team, you will lead the development of algorithms and modeling techniques, to advance the state of the art with LLMs. You will lead the foundational model development in an applied research role, including model training, dataset design, and pre- and post-training optimization. Your work will directly impact our customers in the form of products and services that make use of GenAI technology. You will leverage Amazon’s heterogeneous data sources and large-scale computing resources to accelerate advances in LLMs. About the team The AGI team has a mission to push the envelope in GenAI with LLMs and multimodal systems, in order to provide the best-possible experience for our customers.
IN, KA, Bengaluru
Amazon is looking for a passionate, talented, and inventive Data Scientist with machine learning background to help build industry-leading Speech and Language technology. Our mission is to provide a delightful experience to Amazon’s customers by pushing the envelope in Automatic Speech Recognition (ASR), Natural Language Understanding (NLU), Machine Learning (ML). Key job responsibilities Key job responsibilities Amazon is looking for a passionate, talented, and inventive Data Scientist with machine learning background to help build industry-leading Speech and Language technology. Our mission is to provide a delightful experience to Amazon’s customers by pushing the envelope in Automatic Speech Recognition (ASR), Natural Language Understanding (NLU), Machine Learning (ML) and Computer Vision (CV). As part of our AI team in Amazon AWS, you will work alongside internationally recognized experts to develop data experiments, novel algorithms and data techniques to advance the state-of-the-art in human language technology. Your work will directly impact millions of our customers in the form of products and services that make use of speech and language technology. You will gain hands on experience with Amazon’s heterogeneous speech, text, and structured data sources, and large-scale computing resources to accelerate advances in spoken language understanding.
US, WA, Seattle
We are looking for detail-oriented, organized, and responsible individuals who are eager to learn how to apply their causal inference / structural econometrics skillsets to solve real world problems. The intern will work in the area of Store Economics and Science (SEAS) and develop models to SEAS. Our PhD Economist Internship Program offers hands-on experience in applied economics, supported by mentorship, structured feedback, and professional development. Interns work on real business and research problems, building skills that prepare them for full-time economist roles at Amazon and beyond. You will learn how to build data sets and perform applied econometric analysis collaborating with economists, scientists, and product managers. These skills will translate well into writing applied chapters in your dissertation and provide you with work experience that may help you with placement. About the team The Stores Economics and Science Team (SEAS) is a Stores-wide interdisciplinary team at Amazon with a "peak jumping" mission focused on disruptive innovation. The team applies science, economics, and engineering expertise to tackle the business's most critical problems, working to move from local to global optima across Amazon Stores operations. SEAS builds partnerships with organizations throughout Amazon Stores to pursue this mission, exploring frontier science while learning from the experience and perspective of others. Their approach involves testing solutions first at a small scale, then aligning more broadly to build scalable solutions that can be implemented across the organization. The team works backwards from customers using their unique scientific expertise to add value, takes on long-run and high-risk projects that business teams typically wouldn't pursue, helps teams with kickstart problems by building practical prototypes, raises the scientific bar at Amazon, and builds and shares software that makes Amazon more productive.
US, WA, Seattle
Prime Video is a first-stop entertainment destination offering customers a vast collection of premium programming in one app available across thousands of devices. Prime members can customize their viewing experience and find their favorite movies, series, documentaries, and live sports – including Amazon MGM Studios-produced series and movies; licensed fan favorites; and programming from Prime Video add-on subscriptions such as Apple TV+, Max, Crunchyroll and MGM+. All customers, regardless of whether they have a Prime membership or not, can rent or buy titles via the Prime Video Store, and can enjoy even more content for free with ads. Are you interested in shaping the future of entertainment? Prime Video's technology teams are creating best-in-class digital video experience. As a Prime Video technologist, you’ll have end-to-end ownership of the product, user experience, design, and technology required to deliver state-of-the-art experiences for our customers. You’ll get to work on projects that are fast-paced, challenging, and varied. You’ll also be able to experiment with new possibilities, take risks, and collaborate with remarkable people. We’ll look for you to bring your diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. With global opportunities for talented technologists, you can decide where a career Prime Video Tech takes you! We are looking for a self-motivated, passionate and resourceful Applied Scientist to bring diverse perspectives, ideas, and skill-sets to make Prime Video even better for our customers. You will spend your time as a hands-on machine learning practitioner and a research leader. You will play a key role on the team, building and guiding machine learning models from the ground up. At the end of the day, you will have the reward of seeing your contributions benefit millions of Amazon.com customers worldwide. Key job responsibilities Develop AI solutions for various Prime Video Personalization systems using Deep learning, GenAI, Reinforcement Learning, and optimization methods; Work closely with engineers and product managers to design, implement and launch AI solutions end-to-end; Design and conduct offline and online (A/B) experiments to evaluate proposed solutions based on in-depth data analyses; Effectively communicate technical and non-technical ideas with teammates and stakeholders; Stay up-to-date with advancements and the latest modeling techniques in the field; Publish your research findings in top conferences and journals. About the team Prime Video Personalization and Discovery team owns science solution to power personalized experience on various devices, from sourcing, relevance, ranking, to name a few. We work closely with the engineering and product teams to launch our solutions in production.