Compost ( or ) is organic matter that has been decomposed in a process called composting. This process recycles various organic materials otherwise regarded as waste products and produces a soil conditioner (the compost).
Compost is rich in nutrients. It is used, for example, in gardens, landscaping, horticulture, urban agriculture and organic farming. The compost itself is beneficial for the land in many ways, including as a soil conditioner, a fertilizer, addition of vital humus or humic acids, and as a natural pesticide for soil. In ecosystems, compost is useful for erosion control, land and stream reclamation, wetland construction, and as landfill cover (see compost uses).
At the simplest level, the process of composting requires making a heap of wet organic matter (also called green waste), such as leaves, grass, and food scraps, and waiting for the materials to break down into humus after a period of months. However, composting also can take place as a multi-step, closely monitored process with measured inputs of water, air, and carbon- and nitrogen-rich materials. The decomposition process is aided by shredding the plant matter, adding water and ensuring proper aeration by regularly turning the mixture when open piles or "windrows" are used. fungi, earthworms and other detritivores further break up the material. Bacteria requiring oxygen to function (aerobic bacteria) and fungi manage the chemical process by converting the inputs into heat, carbon dioxide, and ammonium.
Composting is an aerobic method (meaning that it requires the presence of air) of decomposing organic solid wastes. It can therefore be used to recycle organic material. The process involves decomposition of organic material into a humus-like material, known as compost, which is a good fertilizer for plants. Composting requires the following three components: human management, aerobic conditions, development of internal biological heat.
Composting organisms require four equally important ingredients to work effectively:
Certain ratios of these materials will provide microorganisms to work at a rate that will heat up the pile. Active management of the pile (e.g. turning) is needed to maintain sufficient supply of oxygen and the right moisture level. The air/water balance is critical to maintaining high temperatures 130-160 °F (54-71 °C) until the materials are broken down.
The most efficient composting occurs with an optimal carbon:nitrogen ratio of about 25:1.Hot container composting focuses on retaining the heat to increase decomposition rate and produce compost more quickly. Rapid composting is favored by having a C/N ratio of ~30 or less. Above 30 the substrate is nitrogen starved, below 15 it is likely to outgas a portion of nitrogen as ammonia.
Nearly all plant and animal materials have both carbon and nitrogen, but amounts vary widely, with characteristics noted above (dry/wet, brown/green). Fresh grass clippings have an average ratio of about 15:1 and dry autumn leaves about 50:1 depending on species. Mixing equal parts by volume approximates the ideal C:N range. Few individual situations will provide the ideal mix of materials at any point. Observation of amounts, and consideration of different materials as a pile is built over time, can quickly achieve a workable technique for the individual situation.
With the proper mixture of water, oxygen, carbon, and nitrogen, micro-organisms are able to break down organic matter to produce compost. The composting process is dependent on micro-organisms to break down organic matter into compost. There are many types of microorganisms found in active compost of which the most common are:
In addition, earthworms not only ingest partly composted material, but also continually re-create aeration and drainage tunnels as they move through the compost.
Under ideal conditions, composting proceeds through three major phases:
There are many proponents of rapid composting that attempt to correct some of the perceived problems associated with traditional, slow composting. Many advocate that compost can be made in 2 to 3 weeks. Many such short processes involve a few changes to traditional methods, including smaller, more homogenized pieces in the compost, controlling carbon-to-nitrogen ratio (C:N) at 30 to 1 or less, and monitoring the moisture level more carefully. However, none of these parameters differ significantly from the early writings of compost researchers, suggesting that in fact modern composting has not made significant advances over the traditional methods that take a few months to work. For this reason and others, many scientists who deal with carbon transformations are skeptical that there is a "super-charged" way to get nature to make compost rapidly.
Both sides may be right to some extent. The bacterial activity in rapid high heat methods breaks down the material to the extent that pathogens and seeds are destroyed, and the original feedstock is unrecognizable. At this stage, the compost can be used to prepare fields or other planting areas. However, most professionals recommend that the compost be given time to cure before using in a nursery for starting seeds or growing young plants. The curing time allows fungi to continue the decomposition process and eliminating phytotoxic substances.
An alternative approach is anaerobic fermentation, known as bokashi. It retains carbon bonds, is faster than decomposition, and for application to soil requires only rapid but thorough aeration rather than curing. It depends on sufficient carbohydrates in the treated material.
Composting can destroy pathogens or unwanted seeds. Unwanted living plants (or weeds) can be discouraged by covering with mulch/compost. The "microbial pesticides" in compost may include thermophiles and mesophiles.
Thermophilic (high-temperature) composting is well known to destroy many seeds and nearly all types of pathogens (exceptions may include prions). The sanitizing qualities of (thermophilic) composting are desirable where there is a high likelihood of pathogens, such as with manure.
Composting is a process for converting decomposable organic materials into useful stable products. Therefore, valuable landfill space can be used for other wastes by composting these materials rather than dumping them on landfills. It may however be difficult to control inert and plastics contamination from municipal solid waste.
Industrial composting systems are being installed to treat organic solid waste and recycle it rather than landfilling it. It is one example of an advanced waste processing system. Mechanical sorting of mixed waste streams combined with anaerobic digestion or in-vessel composting is called mechanical biological treatment. It is increasingly being used in developed countries due to regulations controlling the amount of organic matter allowed in landfills. Treating biodegradable waste before it enters a landfill reduces global warming from fugitive methane; untreated waste breaks down anaerobically in a landfill, producing landfill gas that contains methane, a potent greenhouse gas.
On many farms, the basic composting ingredients are animal manure generated on the farm and bedding. Straw and sawdust are common bedding materials. Non-traditional bedding materials are also used, including newspaper and chopped cardboard. The amount of manure composted on a livestock farm is often determined by cleaning schedules, land availability, and weather conditions. Each type of manure has its own physical, chemical, and biological characteristics. Cattle and horse manures, when mixed with bedding, possess good qualities for composting. Swine manure, which is very wet and usually not mixed with bedding material, must be mixed with straw or similar raw materials. Poultry manure also must be blended with carbonaceous materials - those low in nitrogen preferred, such as sawdust or straw.
Human waste can be added as an input to the composting process since human excreta is a nitrogen-rich organic material. It can be either composted directly, as in composting toilets, or indirectly (as sewage sludge), after it has undergone treatment in a sewage treatment plant. Faeces contain a wide range of microorganisms including bacteria, viruses and parasitic worms and its use in home composting can pose significant health risks.
Urine can be put on compost piles or directly used as fertilizer. Adding urine to compost can increase temperatures and therefore increase its ability to destroy pathogens and unwanted seeds. Unlike feces, urine does not attract disease-spreading flies (such as houseflies or blowflies), and it does not contain the most hardy of pathogens, such as parasitic worm eggs. Urine usually does not smell for long, particularly when it is fresh, diluted, or put on sorbents. 
Compost can be used as an additive to soil, or other matrices such as coir and peat, as a tilth improver, supplying humus and nutrients. It provides a rich growing medium, or a porous, absorbent material that holds moisture and soluble minerals, providing the support and nutrients in which plants can flourish, although it is rarely used alone, being primarily mixed with soil, sand, grit, bark chips, vermiculite, perlite, or clay granules to produce loam. Compost can be tilled directly into the soil or growing medium to boost the level of organic matter and the overall fertility of the soil. Compost that is ready to be used as an additive is dark brown or even black with an earthy smell.
Generally, direct seeding into a compost is not recommended due to the speed with which it may dry and the possible presence of phytotoxins in immature compost that may inhibit germination, and the possible tie up of nitrogen by incompletely decomposed lignin. It is very common to see blends of 20-30% compost used for transplanting seedlings at cotyledon stage or later.
Compost can be used to increase plant immunity to diseases and pests.
Various approaches have been developed to handle different ingredients, locations, throughput and applications for the composted product.
Vermicompost is the product or process of organic material degradation using various species of worms, usually red wigglers, white worms, and earthworms, to create a heterogeneous mixture of decomposing vegetable or food waste (excluding meat, dairy, fats, or oils), bedding materials, and vermicast. Vermicast, also known as worm castings, worm humus or worm manure, is the end-product of the breakdown of organic matter by species of earthworm.
Vermicomposting can also be applied for treatment of sewage sludge.
A composting toilet collects human excreta. These are added to a compost heap that can be located in a chamber below the toilet seat. Sawdust and straw or other carbon rich materials are usually added as well. Some composting toilets do not require water or electricity; others may. If they do not use water for flushing they fall into the category of dry toilets. Some composting toilet designs use urine diversion, others do not. When properly managed, they do not smell. The composting process in these toilets destroys pathogens to some extent. The amount of pathogen destruction depends on the temperature (mesophilic or thermophilic conditions) and composting time.
Composting toilets with a large composting container (of the type Clivus Multrum and derivations of it) are popular in United States, Canada, Australia, New Zealand and Sweden. They are available as commercial products, as designs for self builders or as "design derivatives" which are marketed under various names.
Black soldier fly (Hermetia illucens) larvae are able to rapidly consume large amounts of organic material when kept at around 30 °C. Black soldier fly larvae can reduce the dry matter of the organic waste by 73% and convert 16-22% of the dry matter in the waste to biomass. The resulting compost still contains nutrients and can be used for biogas production, or further traditional composting or vermicomposting  The larvae are rich in fat and protein, and can be used as, for example, animal feed or biodiesel production. Enthusiasts have experimented with a large number of different waste products.
Bokashi is not composting as defined earlier, rather an alternative technology. It ferments (rather than decomposes) the input organic matter and feeds the result to the soil food web (rather than producing a soil conditioner). The process involves adding Lactobacilli to the input in an airtight container kept at normal room temperature. These bacteria ferment carbohydrates to lactic acid, which preserves the input. After this is complete the preserve is mixed into soil, converting the lactic acid to pyruvate, which enables soil life to consume the result.
Bokashi is typically applied to food waste from households, workplaces and catering establishments, because such waste normally holds a good proportion of carbohydrates; it is also applied to other organic waste by supplementing carbohydrates. Household containers ("bokashi bins") typically give a batch size of 5-10 kilograms (11-22 lb), accumulated over a few weeks. In horticultural settings batches can be orders of magnitude greater.
Bokashi offers several advantages:
The importance of the first advantage should not be underestimated: the mass of any ecosystem depends on the energy it captures. Plants depend upon the soil ecosystem making nutrients available within soil water. Therefore, the richer the ecosystem, the richer the plants. (Plants can also take up nutrients from added chemicals, but these are at odds with the purpose of composting).
Benefits of hügelkultur garden beds include water retention and warming of soil. Buried wood acts like a sponge as it decomposes, able to capture water and store it for later use by crops planted on top of the hügelkultur bed.
Compost teas are defined as water extracts leached from composted materials. Compost teas are generally produced from adding one volume of compost to 4-10 volumes of water, but there has also been debate about the benefits of aerating the mixture. Field studies have shown the benefits of adding compost teas to crops due to the adding of organic matter, increased nutrient availability and increased microbial activity. They have also been shown to have an effect on plant pathogens.
Worm Hotels accommodate useful worm in ideal conditions.
Organic ingredients intended for composting can also be used to generate biogas through anaerobic digestion. This process stabilizes organic material. The residual material, sometimes in combination with sewage sludge can be treated by a composting process before selling or giving away the compost.
There are process and product guidelines in Europe that date to the early 1980s (Germany, the Netherlands, Switzerland) and only more recently in the UK and the US. In both these countries, private trade associations within the industry have established loose standards, some say as a stop-gap measure to discourage independent government agencies from establishing tougher consumer-friendly standards.
The USA is the only Western country that does not distinguish sludge-source compost from green-composts, and by default in the USA 50% of states expect composts to comply in some manner with the federal EPA 503 rule promulgated in 1984 for sludge products.
Many countries such as Wales and some individual cities such as Seattle and San Francisco require food and yard waste to be sorted for composting (San Francisco Mandatory Recycling and Composting Ordinance).
Large-scale composting systems are used by many urban areas around the world.
Composting as a recognized practice dates to at least the early Roman Empire, and was mentioned as early as Cato the Elder's 160 BCE piece De Agri Cultura. Traditionally, composting involved piling organic materials until the next planting season, at which time the materials would have decayed enough to be ready for use in the soil. The advantage of this method is that little working time or effort is required from the composter and it fits in naturally with agricultural practices in temperate climates. Disadvantages (from the modern perspective) are that space is used for a whole year, some nutrients might be leached due to exposure to rainfall, and disease-producing organisms and insects may not be adequately controlled.
Composting was somewhat modernized beginning in the 1920s in Europe as a tool for organic farming. The first industrial station for the transformation of urban organic materials into compost was set up in Wels, Austria in the year 1921. Early frequent citations for propounding composting within farming are for the German-speaking world Rudolf Steiner, founder of a farming method called biodynamics, and Annie Francé-Harrar, who was appointed on behalf of the government in Mexico and supported the country 1950-1958 to set up a large humus organization in the fight against erosion and soil degradation.
In the English-speaking world it was Sir Albert Howard who worked extensively in India on sustainable practices and Lady Eve Balfour who was a huge proponent of composting. Composting was imported to America by various followers of these early European movements by the likes of J.I. Rodale (founder of Rodale Organic Gardening), E.E. Pfeiffer (who developed scientific practices in biodynamic farming), Paul Keene (founder of Walnut Acres in Pennsylvania), and Scott and Helen Nearing (who inspired the back-to-the-land movement of the 1960s). Coincidentally, some of the above met briefly in India - all were quite influential in the U.S. from the 1960s into the 1980s.
The term "composting" is used worldwide with differing meanings.
"Humanure" is a portmanteau of human and manure, designating human excrement (feces and urine) that is recycled via composting for agricultural purposes. The term was first used in 1994 in a book by Joseph Jenkins that advocates the use of this organic soil amendment. The term humanure is used by compost enthusiasts in the United States but not widely used elsewhere. Because the term "humanure" has no authoritative definition it is subject to various uses. News reporters may use the term also for sewage sludge or biosolids.