Skip to content

Black Soldier Fly Bin Calculator

How much food waste your household produces each day, 0.05 to 100 lb, or 0.02 to 45 kg. A typical household makes about 2 lb a day.

The unit your scraps figure is in.

The average temperature where the bin will sit. The ideal window is 75 to 86 degrees F. Leave blank to skip the temperature check.

The day you plan to stock the bin. Enter it to get harvest dates instead of week counts.

Your soldier fly bin

How the numbers were worked out

      This tool sizes a black soldier fly bin from the numbers you enter and the published feeding and loading rates, for general guidance only. It is not a substitute for watching your own colony: feeding rates vary with temperature, feedstock, and larval age. Check local rules before keeping larvae, and keep the bin where it cannot trouble neighbors.
      For 2 lb of food scraps a day, start with 5,750 black soldier fly larvae in a 3.23 sq ft bin, about a 27 by 18 inch footprint, which fits a standard 27-gallon storage tote. The starter count comes from Purdue Extension Table 1: 3.59 lb of food a day for 10,000 larvae. The first prepupae climb the self-harvest ramp in 2 to 4 weeks, and the ideal temperature window is 75 to 86 degrees F. Enter your daily scraps above for your starter count, bin surface, footprint, and harvest dates.

      Last reviewed: 20 November 2026. Reviewed every 180 days; next review due 19 May 2027.

      How to use the Black Soldier Fly Bin Calculator

      Black soldier fly larvae are the fastest home composters most households will ever keep. A working colony eats meat, dairy, and citrus that worms will not touch, turns a day of kitchen scraps into feed and soil amendment in about three weeks, and then harvests itself: when the larvae are ready to pupate, they climb out of the bin on their own and drop into a bucket. The hard part is not keeping them. It is sizing the bin. Too few larvae and the scraps pile up, sour, and smell. Too small a bin and the colony has nowhere to feed, because larvae only work the top few inches of the waste. This calculator answers both questions from one number, the weight of food scraps your household produces each day, using the feeding rate published by Purdue Extension and the waste loading rates measured by Diener and colleagues and confirmed in the field by DipTerra.

      Enter your daily food scraps and the calculator works out how many larvae to start with, how much bin surface the colony needs, a footprint in inches, the nearest common container, and a harvest timeline with dates if you give it a start date. Add the temperature where the bin will sit and it checks that against the published temperature window, from the developmental threshold near 54 degrees F to the lethal line near 97 degrees F. Every figure on the page comes from a named source, and the steps section prints the full working so you can check each number against the source tables yourself.

      To get your result, follow these steps:

      1. Enter your food scraps per day. Weigh a typical day of kitchen scraps if you can: a kitchen scale and a single day of collecting peelings, leftovers, coffee grounds, and plate scrapings gives a better number than a guess. A typical household produces about 2 lb a day. The tool accepts 0.05 to 100 lb a day, or 0.02 to 45 kg a day. If you are not sure, start with 2 lb and adjust after a week of weighing. Our Food Waste Cost Calculator puts a price on what your household throws away, which is a useful second reason to weigh the scraps.
      2. Choose pounds or kilograms. The unit selector sets the unit your scraps figure is in. The calculator converts to both units in the working, and the bin area math runs in kilograms per square meter because that is the unit the published loading rates use.
      3. Enter the bin temperature, if you know it. This field is optional. Enter the average temperature where the bin will sit, in degrees F. The ideal window is 75 to 86 degrees F. Below 54 degrees F the larvae barely develop, and above 97 degrees F almost none survive to adult, so a temperature outside the window changes the advice the tool gives you. Leave the field blank to skip the temperature check.
      4. Enter a start date, if you have one. This field is also optional. Enter the day you plan to stock the bin and the calculator turns the 2 to 4 week self-harvest window into calendar dates, with the first compost date and the full cycle date alongside. Without a start date it reports the timeline in weeks and days instead.

      The tool updates as you type, so you can try different numbers quickly. Try the example buttons under the form: the default is a 2 lb a day household; the second is a 5 lb a day load at 80 degrees F starting 21 November 2026, which needs two bins; the third is a small 0.5 lb a day household; and the fourth is a 20 lb a day cafe load at 100 degrees F, which is past the published home-bin guidance and into the danger temperature band. The four examples show the four shapes the answer takes: a single tote, a two-bin plan, a small starter colony, and a load that needs splitting and shade.

      Read the full result, not just the headline. The headline leads with your starter larvae count and bin surface. The cards show the starter count, the bin surface, the footprint, the bin type, the daily capacity of the recommended starter colony, and the waste diverted each week. The timeline table gives the first self-harvest, the first compost, and the full life cycle, as dates when you entered a start date. The guidance explains the result in plain language, the warnings flag a cold bin, a hot bin, a load past the published table, or a plan that needs more than one bin, the steps print the full working, and the notes record the sources and the limits.

      How it works

      The calculator runs five calculations in order: your daily scraps in both units, your starter larvae count, your bin surface area, your footprint and bin type, and your harvest timeline. Each one uses the result of the one before it, and the steps section on the page prints all five so you can check them against your own arithmetic and against the source tables.

      Step 1: your daily scraps in pounds and kilograms

      Everything downstream needs your scraps in both units, because the feeding rate is published in pounds and the loading rate is published in kilograms per square meter. If you enter pounds, the calculator converts to kilograms at 1 lb equals 0.45359237 kg. If you enter kilograms, it converts to pounds at 1 kg equals 2.20462 lb. The converted figure is rounded to 2 decimals and every later step uses the rounded figure, so the printed numbers always reconcile with each other.

      Step 2: your starter larvae count

      The starter count comes from Purdue Extension Table 1, in the Black Soldier Fly Composting Guide by Catherine Terrell and Laura Ingwell: 3.59 lb of food a day for 10,000 larvae. That is 0.000359 lb per larva a day, or about 163 mg per larva a day. The calculator divides your daily scraps by 0.000359 and rounds the result up to the next multiple of 250, because starter colonies are sold in round counts and Purdue's own table starts at 250 larvae. A household at 2 lb a day needs about 5,571 larvae by the division, so the calculator recommends 5,750. The rounding up is deliberate: a colony slightly larger than the exact figure clears the scraps a little faster, while a colony slightly smaller lets them pile up.

      The guide's prose says 4 lb a day for 10,000 maggots, which is the table value rounded up, and the table's own footnote cites 63 mg per larva a day, which would give only 1.39 lb a day for 10,000 larvae and contradicts the table's own rows. The table governs: every row of Table 1 implies about 163 mg per larva a day, the rows are internally consistent, and the 63 mg footnote looks like a dropped digit. The section on the feeding rate below sets out the conflict in full.

      Step 3: your bin surface area

      Bin size is a surface area problem, not a volume problem. Larvae feed just under the surface of the waste and rarely burrow deeper than 4 to 6 inches, so a deep bin with a small footprint holds fewer working larvae than a shallow bin with a big footprint. The governing figure is the waste loading rate: Diener and colleagues measured a daily feeding capacity of 3 to 5 kg of market waste per square meter, and DipTerra's field work independently put the reliable rate at about 5 kg per square meter a day, with rates above 5 not holding up over time. The calculator sizes your bin at the conservative 3 kg end of that range and shows the 5 kg figure as the low-area bound, so you can see both ends of the published range. At 2 lb a day, 0.91 kg, the conservative end gives 0.30 square meters, 3.23 sq ft, and the top of the range gives 0.18 square meters, 1.94 sq ft.

      Step 4: your footprint and bin type

      The calculator turns the surface area into a footprint at a 3 to 2 length to width ratio, rounding each side up to the next whole inch so the footprint always covers the area the bin needs. A 3.23 sq ft bin becomes a 27 by 18 inch footprint, 486 sq in, which covers the 465 sq in the area calls for. It then names the nearest common container: up to 2.6 sq ft fits a standard 18-gallon storage tote, up to 4.3 sq ft fits a 27-gallon tote, and up to 5.2 sq ft fits the 55-gallon drum bin in the Purdue guide, cut in half lengthwise. Above 5.2 sq ft the plan splits across drum-half bins of about 5.2 sq ft each, because no single home container is that big. Tote footprints vary by brand, so the container names are guides to size, not exact product dimensions; the footprint in inches is the figure to build to.

      Step 5: your harvest timeline

      The timeline has three marks. The first prepupae climb the self-harvest ramp in 2 to 4 weeks, per South Dakota State University Extension. The first compost is ready in as little as 21 days, per Purdue Extension, which also says to dig the bin contents out roughly every 20 days. The full life cycle runs about 38 days, per Purdue. With a start date the calculator turns the first two marks into calendar dates: starting 21 November 2026, the first prepupae should climb the ramp between 5 December and 19 December 2026, and the first compost is ready around 12 December 2026. All three marks assume warm weather and a colony fed at the Purdue rate; cold stretches every part of the timeline, and overfeeding does too.

      Worked example 1: the default household, 2 lb a day

      Daily scraps 2 lb, no temperature, no start date.

      • Daily scraps: 2 lb a day (0.91 kg a day)
      • Starter larvae: 2 lb a day divided by 0.000359 lb per larva a day is about 5,571 larvae, rounded up to the nearest 250: 5,750 larvae
      • Daily capacity: 5,750 larvae times 0.000359 lb per larva a day is 2.06 lb a day, which covers the 2 lb a day of scraps
      • Bin area: 0.91 kg a day divided by 3 kg per sq m a day is 0.30 sq m (3.23 sq ft). At the top of the published range, 5 kg per sq m a day, the same scraps need 0.18 sq m (1.94 sq ft)
      • Footprint: 27 in by 18 in gives 486 sq in, which covers the 465 sq in the bin needs
      • Bin type: a standard 27-gallon storage tote
      • Harvest timeline: first prepupae climb the ramp in 2 to 4 weeks, first compost in as little as 21 days, full life cycle about 38 days
      • Waste diverted: about 14 lb a week, 60 lb a month

      Two pounds a day is the load this tool is built around: one tote, one starter order of larvae, and a bin that fits on a patio. The 27-gallon tote is the right call here rather than the 18-gallon, because the conservative loading rate puts the bin at 3.23 sq ft and an 18-gallon tote offers about 2.6 sq ft. Sizing to the top of the loading range instead would give 1.94 sq ft and an 18-gallon tote, but that leaves no margin for a cold week or a rich batch of scraps, and DipTerra's field work says rates above 5 kg per sq m a day do not hold up over time.

      Worked example 2: a 5 lb a day load at 80 degrees F, starting 21 November 2026

      Daily scraps 5 lb, bin temperature 80 degrees F, start date 21 November 2026.

      • Daily scraps: 5 lb a day (2.27 kg a day)
      • Starter larvae: 5 lb a day divided by 0.000359 lb per larva a day is about 13,928 larvae, rounded up to the nearest 250: 14,000 larvae
      • Daily capacity: 14,000 larvae times 0.000359 lb per larva a day is 5.03 lb a day
      • Bin area: 2.27 kg a day divided by 3 kg per sq m a day is 0.76 sq m (8.18 sq ft). At the top of the published range the same scraps need 0.45 sq m (4.84 sq ft)
      • Footprint: 43 in by 28 in gives 1,204 sq in, which covers the 1,178 sq in the bin needs
      • Bin type: no single home bin is that big, so the plan splits across 2 drum-half bins of about 5.2 sq ft each
      • Temperature: 80 degrees F (26.7 degrees C) sits in the ideal 75 to 86 degrees F window
      • Harvest dates: first prepupae climb the ramp between 5 December and 19 December 2026; first compost ready around 12 December 2026; the cycle completes around 29 December 2026
      • Waste diverted: about 35 lb a week, 150 lb a month

      Five pounds a day is a large household, a household that cooks most meals from scratch, or a small cafe. The important result is the split: 8.18 sq ft does not fit in any single tote, and a single bin loaded that heavily would pile waste deeper than the larvae work. Two drum-half bins, each with its own ramp and harvest bucket, keep every larva within reach of the surface. The temperature is ideal, so the timeline should hold.

      Worked example 3: a small household, 0.5 lb a day

      Daily scraps 0.5 lb, no temperature, no start date.

      • Daily scraps: 0.5 lb a day (0.23 kg a day)
      • Starter larvae: 0.5 lb a day divided by 0.000359 lb per larva a day is about 1,393 larvae, rounded up to the nearest 250: 1,500 larvae
      • Daily capacity: 1,500 larvae times 0.000359 lb per larva a day is 0.54 lb a day
      • Bin area: 0.23 kg a day divided by 3 kg per sq m a day is 0.08 sq m (0.86 sq ft). At the top of the published range the same scraps need 0.05 sq m (0.54 sq ft)
      • Footprint: 14 in by 9 in gives 126 sq in, which covers the 124 sq in the bin needs
      • Bin type: a standard 18-gallon storage tote, with room to spare
      • Waste diverted: about 3.5 lb a week, 15 lb a month

      Half a pound a day is a single person or a couple that eats out often. The bin is small, but the starter colony is still 1,500 larvae, because a colony below about a thousand has too little mass to hold its temperature and moisture steady. The 18-gallon tote is bigger than the 0.86 sq ft the math calls for, which is fine: spare surface never hurts, and the same tote handles the load if the household starts cooking more. Do not be tempted to use a tiny container to match the small area; a shoebox-sized bin dries out and overheats.

      The feeding rate: how much one larva eats

      Every number in this calculator starts from one rate: how much food a single black soldier fly larva eats in a day. The best home-scale source is Purdue Extension's Black Soldier Fly Composting Guide, publication E-276, November 2022, by Catherine Terrell and Laura Ingwell. Its Table 1, Black Soldier Fly Larval Feeding Guidelines, gives the daily ration for colonies of every size a home keeper is likely to run:

      Number of maggotsPounds of food per dayItem weight reference
      2500.091/2 cup of rice
      5000.181 cup of rice
      1,0000.362 cups of rice
      5,0001.791 pineapple
      10,0003.59A standard bag of apples
      20,0007.17Two bags of apples
      50,00017.93About a peck of tomatoes

      The table is internally consistent: every row is the same per-larva rate, 3.59 lb a day divided by 10,000 larvae, which is 0.000359 lb per larva a day, or about 163 mg. The calculator uses that rate, and only that rate, for the starter count. Two other figures in the same guide disagree with the table, and the calculator resolves both in favor of the table. The guide's prose says the recommended feeding rate is 4 lb of material a day for 10,000 maggots, which is the table value of 3.59 lb rounded up to a round number for easy remembering; the table is the precise figure and it governs. The table's footnote says the rates were calculated from an average daily consumption of 63 mg per larva a day, citing Parra and colleagues (2015), but 63 mg a larva a day would give only 1.39 lb a day for 10,000 larvae, less than half the table's 3.59 lb, and no row of the table matches 63 mg. The footnote looks like a dropped digit from 163 mg. The table's rows are the measured guidance a keeper actually feeds by, so the table governs and the footnote is recorded here as inconsistent with its own table.

      The research literature gives a second, lower rate that is worth knowing about because it explains why published feeding figures vary so much. Diener and colleagues, in a controlled feeding study published in 2009, found the optimum trade-off between waste reduction and larval growth at 100 mg of chicken feed per larva a day, at 60 percent moisture, with a material reduction efficiency of 41.8 percent and a prepupal dry weight of 48.0 mg. A 2025 study in the journal Insects by Cattaneo and colleagues found optimal feeding at about 90 mg per larva a day on an omnivorous diet and 175 mg a day on a control diet. The spread is real and it is mostly about feedstock: dry chicken feed at 60 percent moisture is not the same ration as wet mixed kitchen scraps, and a larva eats more wet weight than dry weight. Purdue's table is the rate for mixed household food scraps, which is what a home bin holds, so Purdue governs for this tool. If you feed mostly dry grain or chicken feed, expect the colony to need less wet weight than the calculator says; if you feed mostly wet fruit and vegetable peelings, expect it to need about what the calculator says.

      Two practical rules sit behind the rate. First, larvae eat less as they reach maturity, so the ration is a colony average across the feeding stage, not a constant: a bin full of young larvae clears food faster than a bin full of larvae about to pupate. Second, Purdue's standing advice is to let what you placed in the bin break down before you add more, and to cut back feeding as the larvae near maturity so no undigested feed is left over. The calculator sizes the colony for the average rate; your eyes size the daily feeding. If yesterday's scraps are still visible, skip a day.

      Bin surface area and the waste loading rate

      The second governing figure is the waste loading rate: how much waste a square meter of bin surface can take in a day. Diener and colleagues measured a potential daily feeding capacity of 3 to 5 kg per square meter for market waste, and 6.5 kg per square meter for human feces, in the same 2009 study that set the 100 mg per larva rate. DipTerra's Terry Green, writing up four years of operating a black soldier fly plant in 2015, put the reliable loading rate at about 5 kg per square meter a day from his own independent studies, and reported that loading rates above 5 kg per square meter a day had not proven sustainable: they led at first to higher yields and then, over the long haul, consistently hurt larval yields as unprocessed waste built up in dead zones. The two sources agree on the ceiling, and the calculator sizes bins at the 3 kg end of the range so a home bin has margin for a cold week, a wet batch of scraps, or a colony that is still ramping up.

      The reason surface area governs is larval behavior. DipTerra's report describes it plainly: larvae breathe through spiracles on their body segments, they shun light, and they need access to oxygen, so they gather in the waste just under the waste-air interface and rarely burrow deeper than about 4 to 6 inches, 10 to 15 cm, beneath the surface. Yield follows surface area to a close approximation, not volume. Overloading a bin creates dead spaces where waste piles too deep for larvae to reach, larvae die trapped in it, and carbon dioxide and organic acids build up in anaerobic pockets that can drive even young larvae out of the bin. Underloading starves the colony the other way. The loading rate is the balance point, and it is a per-area figure, which is why this calculator reports square feet first and never asks for bin depth.

      Three independent density figures cross-check the area math. The Eawag step-by-step guide by Dortmans and colleagues suggests a rearing density of 33,000 larvae per square meter, 3.3 larvae per square cm. At Purdue's feeding rate of 163 mg per larva a day, that density eats 5.38 kg per square meter a day, just above the top of Diener's range, which is the agreement you would expect between a commercial density guideline and a measured loading ceiling. A 2025 study in the Journal of Visualized Experiments found the best results at about 2 larvae per square cm on a spent mushroom substrate and chicken feed mix, which at the Purdue rate is 3.26 kg per square meter a day, inside Diener's range. Cattaneo and colleagues (2025) found optimal densities of 5 larvae per square cm on an omnivorous diet and 7.57 on a control diet. The density literature spans roughly 2 to 7.6 larvae per square cm depending on diet and setup, so the calculator does not size bins from a density figure; it sizes them from the loading rate, which is the figure measured directly against waste, and lets the density fall where it falls. For the default 2 lb a day household, the recommended colony of 5,750 larvae on 3.23 sq ft works out to about 1.9 larvae per square cm, near the low end of the published range, which is where a home bin should sit.

      One published figure does not survive the cross-check and is not used anywhere in this tool. A commercial slide deck from Environmental Solutions Research, describing a year-long experiment in Waxahachie, Texas, claims black soldier fly larvae digested over 15 kg of raw waste per square meter per day, about 3 lb per square foot per day. That is three times the top of Diener's measured range and three times the rate DipTerra found sustainable in four years of plant operation. A single commercial claim against two independent measured ceilings is not a basis for sizing a bin, so the calculator ignores it. If a vendor quotes you 15 kg per square meter a day, ask for the study.

      The quick reference table below gives the calculator's answers for common household loads, so you can sanity-check your result at a glance. Every row comes from the same calculation the tool runs.

      Scraps a dayStarter larvaeBin surfaceFootprintBin type
      0.5 lb1,5000.86 sq ft14 by 9 in18-gallon tote
      1 lb3,0001.61 sq ft19 by 13 in18-gallon tote
      2 lb5,7503.23 sq ft27 by 18 in27-gallon tote
      3 lb8,5004.84 sq ft33 by 22 in55-gallon drum half
      5 lb14,0008.18 sq ft43 by 28 in2 drum-half bins
      10 lb28,00016.25 sq ft60 by 39 in4 drum-half bins
      20 lb55,75032.51 sq ft84 by 56 in7 drum-half bins

      Notice how the starter count scales in steps of 250 while the area scales smoothly: the steps are the rounding to the next multiple of 250, and the area is the continuous loading-rate division. At 20 lb a day the starter count passes 50,000, the top of Purdue's table, and the tool warns you that you are past the published home-bin guidance. That is not a ban; it is a flag that the guidance you are sizing from was written for households, and a 20 lb a day operation should be run as several independent bins with daily attention rather than one heroic bin.

      The harvest timeline: self-harvest, compost, and the life cycle

      Black soldier fly keeping has three harvests, and they arrive on different clocks. The first is the self-harvest: mature larvae, called prepupae, stop feeding, darken, and leave the food to find a dry place to pupate. In a bin with a ramp they climb it on their own and drop into a collection bucket, which is why the design is called self-harvesting. South Dakota State University Extension, in its guide to composting with black soldier flies, says larvae added to a finished bin will begin to self-harvest by climbing the ramp in 2 to 4 weeks. That is the window the calculator uses, and it is the window that matters most to a keeper, because the prepupae are the high-protein harvest: live feed for chickens, fish, and reptile pets, or dried and stored.

      The second harvest is the compost, called frass or digestate: the residue left after the larvae have eaten. Purdue Extension says you can harvest the compost in as little as 21 days, and separately advises digging the bin contents out roughly every 20 days. The two figures agree, and the calculator uses 21 days for the first compost date. If your bin is large enough, Purdue says you can keep adding to it through the warmer months and do a single digestate harvest in the fall or the following spring, which suits a keeper who wants soil amendment more than larvae.

      The third clock is the whole life cycle: about 38 days from egg to adult, per Purdue, citing Hall and Gerhart (2002), through five larval instars, pupation, and emergence as an adult fly. A 2024 study by Ikram and colleagues measured the larva-to-adult span at about 39.9 days at 27 degrees C, close enough to Purdue's 38 to confirm it. Adults do not feed, live about 5 to 8 days, and exist to mate and lay eggs. The practical point of the 38-day figure is colony turnover: a bin stocked in spring will have completed its first full generation within about six weeks, and if you give the adults an egg-laying substrate, a stack of corrugated cardboard suspended in the bin, the next generation stocks itself.

      A 2023 study in the journal Insects tested a user-friendly bin design directly, which is rare in this literature: most studies rear larvae in laboratory trays, not in bins a household would build. The study's four bins measured 330 by 440 by 285 mm, about 13 by 17 by 11 inches, and were fed food waste every third day. Wild black soldier flies laid eggs in the bins, the hatched larvae decomposed the waste, and the prepupae climbed the ramp into a harvesting container, confirming that the design meets the full life-cycle requirements. The heaviest larvae, 0.228 g and 2.16 cm long, came from food waste with no moisture-control medium added, but that medium ran at 75.3 percent moisture and was hard to handle; mixing in chicken feed as a moisture-control medium gave nearly as heavy larvae, 0.224 g, with a higher growth rate, 72.36 percent, and frass at 51.2 percent moisture that was far easier to manage. The lesson for a home keeper is that a dry amendment, chicken feed, shredded cardboard, or spent grains, is worth adding not for nutrition but for handling: wet bins are heavy, smelly bins.

      One warning about the timeline: every figure above assumes warm weather and a colony fed at the Purdue rate. Cold stretches the larval stage sharply, and the timeline stretches with it. Tomberlin and colleagues measured larval development at 19.5 to 20.1 days at 27 degrees C and 17.7 to 18.5 days at 30 degrees C, and Qomi and colleagues found larval development of 13 days at 30 degrees C against 18 days at 25 degrees C. Below the ideal window the same pattern runs in reverse: cooler bins take longer, and a bin in the 60s will not hit the 2 to 4 week self-harvest window at all. The calculator says so in its temperature guidance rather than adjusting the dates, because no published model gives a reliable cold-weather correction for a home bin, and inventing one would be worse than flagging the uncertainty.

      The temperature window

      Temperature is the variable that most often decides whether a black soldier fly bin thrives or stalls, and it is the one a keeper controls least, because most bins sit outdoors. The published evidence gives a clear window with sharp edges. The Eawag step-by-step guide by Dortmans and colleagues, the standard practitioner manual, says larvae grow best between 24 and 30 degrees C, 75 to 86 degrees F, that higher temperatures make them leave the food and look for a cooler place, and that lower temperatures make them less active and slow down their metabolism. Tomberlin and colleagues, in the classic temperature study of 2009, reared larvae on a grain-based diet at 27, 30, and 36 degrees C and found survival from 4 to 6 day old larvae to adults averaged 74 to 97 percent at 27 and 30 degrees C, but only 0.1 percent at 36 degrees C. At 36 degrees, 73.4 percent of larvae still reached the prepupal stage, but almost none became adults. Flies took about 4 days, 11 percent, longer to complete larval and pupal development at 27 degrees C than at 30 degrees C, and adults reared at 27 degrees weighed about 5 percent more and lived about 10 percent longer than those reared at 30 degrees. Faster is not always better: 30 degrees gives speed, 27 degrees gives bigger, longer-lived adults.

      The lower edge is set by Shumo and colleagues (2018), who measured the lower developmental temperature threshold for larvae at 11.7 degrees C, about 53 degrees F, on one diet and 10.4 degrees C on another, with thermal maxima for larval, prepupal, and pupal development between 37.2 and 44.0 degrees C. Population growth was most favorable at 30 degrees C. Qomi and colleagues (2021) found the optimum temperature for breeding was 30 degrees C, with the shortest larval growth period, 13 days, and 92 percent survival at that temperature, against 18 days at 25 degrees C. Ikram and colleagues (2024) found the shortest life cycle, about 39.9 days from larva to adult, and the highest survival, 93.10 to 94.25 percent, at 27 degrees C. The studies agree on the shape: a sweet spot at 27 to 30 degrees C, useful work down to about 24 degrees, slow work below that, and a cliff at 36 degrees.

      The calculator turns that evidence into five temperature bands. The boundaries are the published figures converted to Fahrenheit and rounded to whole degrees.

      BandTemperatureWhat happens
      Too coldBelow 54 degrees FBelow the developmental threshold of about 12 degrees C. Larvae barely feed or develop. Move the bin somewhere warm or wait for spring.
      Cool54 to 74 degrees FLarvae feed, but slowly. Development stretches and the 2 to 4 week harvest window slips. Feed less and check that scraps clear before adding more.
      Ideal75 to 86 degrees FThe 24 to 30 degrees C window where larvae grow fastest and survival is highest. Feed at the full Purdue rate.
      Hot87 to 96 degrees FLarvae leave the food to look for a cooler place. Move the bin into shade, keep the substrate moist, and check the bin is not in direct sun.
      Danger97 degrees F and aboveAt 36 degrees C, Tomberlin and colleagues found only 0.1 percent of larvae survived to adult. Move the bin into shade at once and cool the substrate.

      Two cautions about applying the bands. First, the temperature that matters is the temperature inside the bin, not the air temperature on a weather app. A bin in direct sun runs well above air temperature, and a large larval mass generates its own metabolic heat: a 2025 study from the University of Pretoria found heat accumulation in larval aggregations at higher stocking rates, enough to change development. Measure the bin, not the sky. Second, the bands describe larvae, not adults. Adult flies need warmth and sunlight to mate, and egg laying drops off in cool weather even when larvae are still feeding, so a bin can process waste through a cool autumn while its next generation quietly fails. If you are counting on self-stocking, the ideal band matters twice.

      If your summers run hot, site the bin where it gets morning sun and afternoon shade, and never on a dark surface that stores heat. If your springs run cool, start the bin in a garage or greenhouse and move it outside once nights stay above the mid-50s. The calculator's temperature check is a planning check, not a thermostat: it tells you whether your site suits the colony, and the fix for a bad site is a better site, not a bigger bin.

      Moisture and humidity

      Water is the second environmental control, and the published guidance gives two different moisture figures that measure two different things. Purdue Extension says the ideal relative humidity for the bin is 50 to 70 percent, judged by a moist substrate with light condensation on the inside of a sealed bin. The Eawag guide puts the ideal moisture content of the feedstock itself at 60 to 90 percent, with 70 percent the optimum. Relative humidity is the air in the bin; feedstock moisture is the water in the food. Both matter, and they move together: wet food raises the humidity, and a sealed lid holds it.

      Too wet is the common failure. Purdue warns that if the moisture level gets too high, or the bin floods in a rain event, the larvae survive but decomposition slows and the bin begins to smell as microbes take over. The fix is to drain the water off and dry the bin out, by leaving the lid off or adding brown material such as shredded cardboard, old bread, or flour and grains. South Dakota State University Extension recommends a ball-valve drain at the base of the tote for exactly this reason, so liquid that builds up can be drained off instead of pooling. The 2023 Insects bin study measured the same problem: food waste with no moisture-control medium ran at 75.3 percent moisture and was hard to handle, while adding chicken feed brought the frass moisture down to 51.2 percent and made the bins far easier to maintain. Too dry fails the other way: larvae desiccate, feeding slows, and the substrate crusts over. A spray bottle and a handful of wet scraps fix a dry bin in minutes; a flooded bin takes days.

      The practical routine is simple. Feed wet scraps, such as fruit and vegetable peelings, with a dry amendment alongside: a scoop of chicken feed, a handful of shredded cardboard, or a cup of spent coffee grounds. Keep the lid on in dry weather and cracked in wet weather. Drain the leachate whenever it pools. If the bin smells sour or like ammonia, it is too wet, too deep, or overfed, usually all three at once, and the fix is the same in every case: stop feeding, drain it, dry it, and stir in browns.

      What to feed black soldier fly larvae

      The black soldier fly's advantage over a worm bin is the menu. Worms will not handle meat, dairy, oils, or much citrus; black soldier fly larvae eat all of them. Purdue Extension lists prepared food, table scraps, restaurant leftovers, fast food, produce, livestock manure, garden weeds, spent coffee grounds, and brewing and distillery grains. South Dakota State University Extension adds yard waste and general organic matter. The larvae will also process manure, spent grains from brewing, grocery and restaurant waste, paper mill sludge, and carrion, though a home keeper will rarely need the last three. The breadth of the menu is the point: a black soldier fly bin takes the scraps a worm bin and a compost heap both refuse.

      Variety matters more than any single ingredient. Purdue warns that maggots fed just one or two inputs are developmentally delayed and the compost takes longer to mature, and advises a balanced diet rather than a single food type. A bin fed only bread will underperform a bin fed bread, vegetable peelings, coffee grounds, and the occasional meat scrap, even at the same weight. Mix the scraps, bury fresh food under a thin layer of existing material to cut odor and fruit flies, and keep the pieces small: larvae feed on surfaces, so chopped scraps clear faster than whole ones.

      A few things do not belong in the bin. Heavily salted foods and large amounts of citrus can push the pH and the salt load in directions the larvae dislike, and Purdue notes that finished digestate can carry high salt levels that harm some plants, which is a reason to test the frass before spreading it. Anything treated with pesticides should stay out, and so should non-organic waste of any kind: the larvae cannot process it, and it contaminates the frass. Bones and eggshells break down very slowly; small amounts are fine, but a bin fed mostly bones is a bin full of bones. Fats and oils are edible to larvae but go rancid in quantity, so keep them a small share of the ration. When in doubt, feed a little of the new ingredient and watch whether it clears in a day; the colony's appetite is the most honest guide you have.

      Feeding frequency is a choice, not a rule. The calculator sizes the colony for a daily ration, but many keepers feed every second or third day: the 2023 Insects bin study fed every third day and the colonies performed well. What matters is the average rate over a week, not the daily ceremony. Feed when the previous load has mostly broken down, skip a day when it has not, and cut back as the larvae near maturity, because they eat less in their final instars and leftover feed at harvest is wasted feed. If you are away for a week, feed a double load before you go and let the colony work through it; larvae tolerate underfeeding far better than overfeeding, and Purdue notes that underfeeding delays maturation but does not kill them.

      Building the bin

      Purdue Extension publishes build instructions for two bins, and both are worth knowing. The small bin is an 18-gallon tote with two exit ramps of 1-inch PVC pipe set at about 35 degrees, a threaded Tee fitting in the lid with a stack of corrugated cardboard suspended from it as an egg-laying substrate, and an optional ball valve drain at the bottom. The large bin is a 55-gallon drum cut in half lengthwise, set in a wooden frame with legs, with a hinged lid, a Tee fitting for adult re-entry, and a ramp on the inside so larvae can exit to pupate. The drum bin needs a roof or a sheltered spot, because an open half-drum fills with rain. Both designs share the same logic: a food chamber, a ramp out for prepupae, a drain for liquid, and a dry egg-laying spot for adults.

      South Dakota State University Extension gives the one measurement that matters most for the ramp: take the length of your container at the base and multiply by 0.7, and that is how high up the wall to cut the hole for the PVC ramps. For the 36-inch tote in their guide, 36 inches times 0.7 is about 2 feet up the side wall. The ramp angle in the Purdue design is about 35 degrees, shallow enough for a prepupa to climb and steep enough to keep the food in. Place a bucket with potting soil under the Tee fitting to catch the larvae as they look for somewhere outside their food source to pupate, and put a hole in the bucket lid, because black soldier flies are very good climbers and can escape an open bucket. Waterproof caulk around every hole the PVC enters keeps larvae from finding their own exits.

      Depth deserves a short word, because it is the dimension beginners overbuild. The larvae work the top 4 to 6 inches, so the substrate should be about that deep, and the bin needs headroom above the substrate for the ramp, the lid, and the egg-laying cardboard. A tote 15 inches deep with 5 inches of substrate is a good shape. A tote filled to the brim with food is a bin with a dead zone at the bottom, and the calculator's surface-area sizing assumes you will not do that. Drainage matters as much as depth: drill drain holes or fit a ball valve, because a bin that cannot drain becomes a bin that smells.

      If you would rather not build, a plain compost bin or pile also works: Purdue notes you can simply add larvae to a traditional compost bin or pile in your yard. You lose the self-harvest ramp and the drain, and the larvae will pupate wherever they choose, but the waste still gets eaten. The built bin is for keepers who want the larvae back as feed; the pile is for keepers who want the waste gone. Size the other common home option, a worm bin, too, if you want to compare the two systems on the same scraps before you build.

      Frass, leachate, and the harvest

      The bin produces three outputs, and all three are useful if handled right. The prepupae are the protein harvest: larvae at their largest, about 0.22 g each in the 2023 Insects study, with a crude protein content in the 30 to 45 percent range reported across the literature and high calcium, which Purdue notes aids eggshell production in chickens. Feed them live to poultry, fish, or reptile pets, or blanch and dry them for storage. DipTerra's yield arithmetic gives a sense of scale: at a loading rate of 5 kg per square meter a day, food scrap at 80 percent moisture, and a feed conversion ratio of 0.25 on a dry-weight basis, the maximum theoretical yield is 0.25 kg of dry larvae per square meter a day, about 0.5 kg wet, since harvested prepupae are about 50 percent moisture. Diener and colleagues measured a daily prepupal biomass of 145 g dry mass per square meter at the optimal feeding rate, which sits in the same range once the different feedstocks are allowed for. A home bin will land below the theoretical maximum, because home bins run cooler and less evenly than a plant, but the order of magnitude is right: a square meter of working bin yields on the order of a pound of wet larvae a day at full tilt.

      The frass is the soil harvest. It is dark, crumbly, and rich in organic matter and chitin, and Purdue describes it as a soil amendment that aids water retention, with nutrients including nitrogen, phosphorus, and potassium, while warning that it does not replace fertilizer and that it can carry high salt levels in some cases. Test it before spreading it on sensitive plants, and start with a small application. Waste reduction is the third figure keepers ask about, and the honest answer is that it depends on the feedstock and the setup: Diener and colleagues measured 41.8 percent material reduction at the optimal feeding rate on standard fodder, while a 2023 study by Arshad and colleagues on kitchen waste under optimized conditions reported 70 to 93 percent reduction by weight and 65 to 85 percent by volume. The gap is mostly feedstock and method, not error: wet kitchen waste loses water as well as solids, and a well-run bin beats a laboratory tray. Expect the low end on dry, woody inputs and the high end on wet kitchen scraps.

      The leachate is the liquid that drains from the bin. South Dakota State University Extension recommends draining it through the ball valve and diluting it to fertilize plants as you water. Do not pour it on straight: it is strong, and it can be salty. A dilution of about one part leachate to ten parts water is a cautious starting point for garden use, and the same salt caution that applies to frass applies to leachate. If the leachate smells strongly, the bin is too wet or overfed, and the liquid is a symptom, not a product.

      Harvesting the frass is simple: Purdue says to dig the bin contents out roughly every 20 days, feeding carefully beforehand so no undigested feed is left, and leaving a small amount of feed and larvae in the base of the bin to kickstart the next round. Larvae and pupae in the harvested material are fine to add to the garden: they will not feed on living plants or become a pest, and the adults should find their way back to the bin if it is near the growing site. If the bin is large enough, one digestate harvest in the fall or the following spring is enough.

      Winter, restocking, and the cold-climate problem

      Black soldier flies are a warm-climate insect, native to the neotropics and common through the southern United States, and they do not successfully overwinter in cold climates. Purdue Extension says plainly that they cannot survive winter in Indiana's climate unless the bin is moved into a sheltered or protected area, and advises starting the process by purchasing larvae early in the spring to stock the bin. South Dakota State University Extension says the same: the flies are not hardy in cold climates, so new larvae will need to be purchased to keep growing, while in warmer climates they occur naturally and complete the full life cycle without buying. The calculator's temperature bands make the same point numerically: below 54 degrees F the larvae barely develop, and a bin that sits through a freezing winter is a bin of dead larvae.

      The practical answers are three. First, treat the colony as an annual: stock in spring when nights stay above the mid-50s, run the bin through the warm months, harvest the frass in the fall, and buy fresh larvae next spring. Second, move the bin under shelter for winter: a garage, greenhouse, or shed that stays above freezing keeps a colony alive, though it will feed slowly. Third, in warm climates, let the bin self-stock: provide the cardboard egg-laying substrate, leave the bin running, and the adults will return to lay eggs near, but not on, the food. The best way to keep adults coming back, per Purdue, is the suspended cardboard and the smell of the bin contents, which attracts them along with the presence of other black soldier flies.

      Restocking is also the answer to a colony crash. If a bin overheats, floods, or goes anaerobic, the larvae may leave or die, and the fastest recovery is fresh larvae, fresh substrate, and a corrected bin, not patience. Buy from a supplier that ships larvae, not eggs, for a restart: larvae start eating the day they arrive, while eggs take days to hatch and weeks to reach working size. Our Insect Life Cycle Calculator works out how temperature changes an insect's development time, which helps when you are planning a spring start and want to know how quickly a new colony will reach full appetite.

      Troubleshooting

      The bin smells. Smell is almost always overfeeding, excess water, or waste piled too deep. Stop feeding, drain the leachate, leave the lid off for a day, and stir in shredded cardboard or another dry brown. Check that the substrate is no deeper than about 6 inches. If the smell persists after two days of no feeding, dig the bin out, keep a scoop of larvae and residue, and restart with fresh substrate.

      Larvae are leaving the bin outside the ramp. Larvae leave the food for three reasons: they are ready to pupate, the bin is too hot, or the substrate has gone anaerobic and acidic. Prepupae leaving through the ramp is the harvest working as designed. Larvae massing on the walls and lid, especially young white larvae, means heat or acid: check the temperature, move the bin to shade, drain it, and cut the feeding rate until the substrate smells earthy again.

      Nothing is being eaten. Check the temperature first: below 54 degrees F the larvae barely feed, and in the 60s they feed slowly. Check the colony size against the calculator: a bin stocked with 250 larvae will not clear 2 lb a day. Check the food: whole, unchopped scraps clear slowly, and a single-ingredient diet delays development. And check the moisture: a dry, crusty substrate stops feeding as surely as a flooded one.

      Fruit flies and other insects are colonizing the bin. Overfeeding is the usual cause: exposed, uneaten food invites fruit flies, and Purdue warns that overfeeding lets odor, other insects, and microorganisms colonize the bin. Bury fresh food under existing material, feed less, and keep the lid closed. A few fruit flies are normal in a working bin; a cloud of them means the feeding rate is too high for the colony.

      The bin is full of water. Rain is the usual cause for an outdoor bin, and Purdue's drum design specifically warns that an unsheltered bin tends to fill with water. Drain it through the valve or drain holes, dry it with the lid off and added browns, and add a roof or move the bin under cover. A ball valve at the base, as South Dakota State University Extension recommends, turns a flood from a rebuild into a five-minute job.

      Adults are not returning to lay eggs. Adults need warmth, sunlight, and an egg-laying substrate. Hang a stack of corrugated cardboard inside the lid, keep the bin where it gets sun, and make sure the bin smells like food: adults are attracted to the smell of the bin contents and to the presence of other black soldier flies. In cool weather, egg laying drops off even when larvae are still feeding, so a bin can process waste all autumn while its next generation quietly fails; plan a spring restock rather than counting on autumn eggs.

      Features

      Starter larvae from your scraps. The calculator divides your daily scraps by Purdue Extension's Table 1 feeding rate, 0.000359 lb per larva a day, and rounds up to the next multiple of 250, so the number you order is a number a supplier actually sells. It also shows the daily capacity of the recommended colony, so you can see the margin between what the colony eats and what you produce.

      Bin surface from the published loading rate. The area comes from Diener and colleagues' measured 3 to 5 kg per square meter a day, sized at the conservative 3 kg end, with the 5 kg figure shown alongside so both ends of the published range are visible. The result is reported in square meters, square feet, and square inches, with a footprint in whole inches at a 3 to 2 ratio.

      Container matching. The calculator names the nearest common home container for your area: an 18-gallon tote, a 27-gallon tote, or the 55-gallon drum-half bin from the Purdue guide. Above 5.2 sq ft it splits the plan across drum-half bins and tells you how many, because no single home container is that big.

      Harvest dates from a start date. Enter the day you plan to stock the bin and the calculator turns the 2 to 4 week self-harvest window, the 21-day compost mark, and the 38-day life cycle into calendar dates, computed with exact civil-date arithmetic that handles leap years and year boundaries correctly.

      Temperature bands from the research. Enter the temperature where the bin will sit and the calculator places it in one of five bands, from too cold below 54 degrees F to danger at 97 degrees F and above, each boundary tied to a published measurement: Shumo and colleagues for the lower threshold, Dortmans and colleagues for the ideal window, and Tomberlin and colleagues for the lethal line.

      Full working, printed on the page. Every result carries its steps: the unit conversion, the larvae division, the capacity check, the area division at both ends of the loading range, the footprint, the container match, the timeline, and the temperature verdict. Nothing is hidden behind the answer, and every figure can be checked against the sources listed below.

      Use cases

      A household cutting its trash. A family producing 2 lb of scraps a day, the default in this calculator, needs 5,750 larvae in a 27-gallon tote and diverts about 60 lb a month from the trash. The bin sits on a patio, the prepupae self-harvest into a bucket, and the frass goes on the garden. This is the most common use, and the one the extension guides are written for.

      A chicken keeper making feed. A flock owner with 5 lb a day of scraps and garden waste runs two drum-half bins, harvests prepupae daily from the ramp buckets, and feeds them live to the flock. The larvae are high in protein and calcium, and Purdue notes the calcium aids eggshell production. The frass goes on the vegetable beds, and the leachate, diluted, waters them.

      A cafe or small restaurant. A kitchen producing 10 to 20 lb of prep waste a day is past the single-bin scale and past the top of Purdue's feeding table. The calculator sizes it as 4 to 7 drum-half bins and warns that the load is past the published home-bin guidance. That is a small commercial operation, not a household project: it needs daily attention, a sheltered site, and a plan for the larvae, which at that scale are a serious feed output, on the order of several pounds of wet larvae a day.

      A school or community garden. A school garden with a lunch-waste stream uses the calculator to size one tote, stocks it in spring, and runs the harvest timeline against the school calendar: stocked in April, the first prepupae climb the ramp in May, and the frass is ready for the summer beds. The temperature check matters here, because a bin that sits through a cold spring will not hit its dates, and the start-date feature turns the timeline into dates a teacher can plan around.

      A keeper comparing systems. A household deciding between a black soldier fly bin, a worm bin, and a compost heap can size all three from the same scraps figure. The soldier fly bin is fastest and takes the widest menu, including meat and dairy; the worm bin is quieter, works indoors, and produces finer castings; the heap takes garden waste the other two cannot. Size the worm option on the same scraps figure, and our Mealworm Farm Calculator sizes a mealworm colony, which is the indoor insect option for keepers who want feed without an outdoor bin.

      Sources

      • Catherine Terrell and Laura Ingwell, "Black Soldier Fly Composting Guide", Purdue Extension publication E-276, November 2022. Life cycle about 38 days; compost harvest in as little as 21 days; bin contents dug out roughly every 20 days; Table 1 feeding guidelines (250 larvae 0.09 lb a day, 500 0.18, 1,000 0.36, 5,000 1.79, 10,000 3.59, 20,000 7.17, 50,000 17.93); prose feeding rate 4 lb a day for 10,000 maggots; footnote citing 63 mg per larva a day; relative humidity ideal 50 to 70 percent; 18-gallon tote and 55-gallon drum bin designs; ramps at about 35 degrees; cannot survive winter in Indiana unless sheltered. Black Soldier Fly Composting Guide.
      • Connor Ruen, "Insect Bioconversion: How to Compost With Black Soldier Flies", South Dakota State University Extension, 2024. Larvae begin to self-harvest by climbing the ramp in 2 to 4 weeks; ramp hole height is the container length times 0.7 (36-inch tote, about 2 feet up the wall); ball-valve drain recommended; leachate diluted as fertilizer; not hardy in cold climates, buy new larvae each year. Insect Bioconversion: How to Compost With Black Soldier Flies.
      • Stefan Diener, Christian Zurbrugg, and Klement Tockner, "Conversion of organic material by black soldier fly larvae: establishing optimal feeding rates", Waste Management and Research, 2009. Optimal feeding rate 100 mg chicken feed (60 percent moisture) per larva a day; material reduction efficiency 41.8 percent; prepupal dry weight 48.0 mg; daily feeding capacity 3 to 5 kg per sq m for market waste, 6.5 kg per sq m for human feces; daily prepupal biomass 145 g dry mass per sq m; chitin-corrected crude protein 28.2 to 42.5 percent. Conversion of organic material by black soldier fly larvae.
      • Terry Green, "Scaling Up BSF Production: Theoretical and Practical Effect of BSF Bin Space Surface Area and Food", DipTerra LLC, June 2015. Larvae aggregate just under the waste-air interface and rarely burrow deeper than 4 to 6 inches (10 to 15 cm); yield depends principally on bin surface area; optimal waste loading rate about 5 kg per sq m a day from DipTerra's own studies, matching Diener's 3 to 5 range; loading rates above 5 kg per sq m a day not sustainable over time; feed conversion ratio about 0.25 on a dry-weight basis; food scrap moisture about 80 percent; prepupal moisture about 50 percent; maximum theoretical larval yield equals feed conversion ratio times (1 minus moisture content) times the waste loading rate. Scaling Up BSF Production (ResearchGate copy; the DipTerra site itself was unreachable on 20 November 2026).
      • Jeffery K. Tomberlin, Peter H. Adler, and Heidi M. Myers, "Development of the Black Soldier Fly (Diptera: Stratiomyidae) in Relation to Temperature", Environmental Entomology 38(3), 2009. Larvae reared at 27, 30, and 36 degrees C; survival to adult 74 to 97 percent at 27 and 30 degrees C, 0.1 percent at 36 degrees C; 73.4 percent reached the prepupal stage at 36 degrees C; larval development 19.5 to 20.1 days at 27 degrees C, 17.7 to 18.5 days at 30 degrees C; about 4 days (11 percent) longer at 27 than at 30 degrees C. Development of the Black Soldier Fly in Relation to Temperature.
      • Shumo, M., et al., "Threshold temperatures and thermal requirements of black soldier fly Hermetia illucens: Implications for mass production", PLOS ONE, 2018. Lower developmental temperature threshold for larvae 11.7 plus or minus 0.9 degrees C on diet 1 and 10.4 plus or minus 1.7 degrees C on diet 2; thermal maxima 37.2 to 44.0 degrees C; population growth most favorable at 30 degrees C. Threshold temperatures and thermal requirements of black soldier fly.
      • Bram Dortmans, Julia Egger, Stefan Diener, and Christian Zurbrugg, "Black Soldier Fly Biowaste Processing: A Step-by-Step Guide", 2nd edition, Eawag, 2021, via the Humanitarian Sanitation Hub summary of the process requirements. Larvae grow best between 24 and 30 degrees C; higher temperatures make them leave the food and look for a cooler place; lower temperatures make them less active and slow their metabolism; rearing density guideline 33,000 larvae per sq m (3.3 per sq cm); ideal feedstock moisture 60 to 90 percent, optimum 70 percent. What are the process requirements? (SaniHub summary of Dortmans et al.). First edition (2017): Black Soldier Fly Biowaste Processing (PDF).
      • M. Fazli Qomi, et al., "Effect of Temperature on the Breeding Black Soldier Fly Larvae in Vitro for Basic Health-Oriented Research", Archives of Hygiene Sciences 10(1), 2021. Optimum breeding temperature 30 degrees C; larval growth shortest at 30 degrees C (13 days) against 18 days at 25 degrees C; pupal development 7 days at 30 degrees C, 9 days at 25 degrees C; survival 92 percent at 30 degrees C. Effect of Temperature on the Breeding Black Soldier Fly Larvae (PDF).
      • Mohammad Ikram, S. Arivudainambi, and R. Janarthanan, "Influence of temperature on the development of black soldier fly Hermetia illucens", Indian Journal of Entomology 86(3), 2024. Shortest life cycle at 27 plus or minus 2 degrees C, about 39.9 days from larva to adult; highest survival 93.10 to 94.25 percent at 27 degrees C; longest development and lowest survival at 20 degrees C.
      • "Potential Application of Black Soldier Fly Larva Bins in Treating Food Waste", Insects 14(5), 2 May 2023. Four bins 330 by 440 by 285 mm, fed every third day; food waste without moisture-control medium produced the heaviest larvae (0.228 g, 2.16 cm) and prepupae (0.225 g, 2.15 cm) at 75.3 percent moisture; chicken feed as moisture-control medium gave larvae of 0.224 g with the highest growth rate (72.36 percent) and frass at 51.2 percent moisture. Potential Application of Black Soldier Fly Larva Bins in Treating Food Waste.
      • Arshad, M. Y., et al., "Integrating Life Cycle Assessment and Machine Learning to Enhance Black Soldier Fly Larvae-Based Composting of Kitchen Waste", Sustainability 15(16), 2023. Waste reduction 70 to 93 percent by weight and 65 to 85 percent by volume under optimal conditions; 15-day treatment duration; 600 larvae per kilogram of waste as a batch ratio.
      • Cattaneo, A., et al., "Black Soldier Fly Larvae's Optimal Feed Intake and Rearing Density: A Welfare Perspective (Part II)", Insects 16(1), 2025. Optimal feeding about 90 mg per larva a day with a density of 5 larvae per sq cm on an omnivorous diet; 175 mg per larva a day with 7.57 larvae per sq cm on a control diet.
      • "The hidden drivers: Unraveling the impact of density, moisture, and scale on Hermetia illucens rearing", Journal of Visualized Experiments, 2025. Optimal results for a spent mushroom substrate and chicken feed mix at 75 percent substrate moisture, 250 larvae per 100 g dry matter, and about 2 larvae per sq cm; Parra-Paz et al. (2015) tested densities of 1 to 6 larvae per sq cm. The hidden drivers (PMC).

      Figures in this article were verified against the sources above on 20 November 2026. Three conflicts were found and resolved. First, Purdue's prose feeding rate (4 lb a day for 10,000 larvae) and its table footnote (63 mg per larva a day, implying 1.39 lb) both disagree with its Table 1 (3.59 lb a day for 10,000 larvae, implying about 163 mg per larva a day): the table governs, because its rows are internally consistent and are the figures a keeper feeds by. Second, Diener's 100 mg per larva a day and Purdue's 163 mg differ because the feedstocks differ (dry chicken feed at 60 percent moisture against mixed wet household scraps): Purdue governs for a home bin. Third, a commercial claim of 15 kg per sq m a day conflicts with Diener's measured 3 to 5 kg ceiling and DipTerra's finding that rates above 5 do not hold up over time: the measured sources govern and the commercial claim is not used. The DipTerra report itself was read in full from its ResearchGate copy, because the DipTerra website returned no content on 20 November 2026.

      Frequently asked questions

      How many black soldier fly larvae do I need?

      Divide your daily food scraps by 0.000359 lb per larva a day, the feeding rate in Purdue Extension Table 1, and round up to the next multiple of 250. A household producing 2 lb of scraps a day needs about 5,571 larvae by the division, so the calculator recommends 5,750. A small household at 0.5 lb a day needs 1,500, and a 5 lb a day load needs 14,000. The rounding up is deliberate: a colony slightly larger than the exact figure clears scraps a little faster, while a smaller one lets them pile up and smell.

      What size bin do I need for my food scraps?

      Bin size is surface area, not volume, because larvae feed just under the surface and rarely burrow deeper than 4 to 6 inches. The published waste loading rate is 3 to 5 kg of waste per square meter a day, and this calculator sizes your bin at the conservative 3 kg end. A 2 lb a day household needs 3.23 sq ft, about a 27 by 18 inch footprint, which fits a standard 27-gallon storage tote. A 5 lb a day load needs 8.18 sq ft, which no single tote holds, so the plan splits across 2 drum-half bins.

      How long until black soldier fly larvae harvest themselves?

      South Dakota State University Extension says larvae added to a finished bin begin to self-harvest by climbing the ramp in 2 to 4 weeks. The first compost is ready in as little as 21 days, per Purdue Extension, and the full life cycle from egg to adult runs about 38 days. All three marks assume warm weather and a colony fed at the Purdue rate. Cold stretches every part of the timeline: larval development takes about 20 days at 27 degrees C and 18 days at 30 degrees C, and much longer below the ideal window.

      What temperature do black soldier fly larvae need?

      The ideal window is 75 to 86 degrees F, 24 to 30 degrees C, where larvae grow fastest and survival is highest. Below 54 degrees F, the lower developmental threshold measured by Shumo and colleagues, larvae barely feed or develop. From 54 to 74 degrees F they feed slowly and the harvest window stretches. From 87 to 96 degrees F they leave the food to look for a cooler place. At 97 degrees F and above, Tomberlin and colleagues found only 0.1 percent of larvae survived to adult at 36 degrees C. Measure the temperature inside the bin, not the air temperature: a bin in direct sun runs well above it.

      What can I feed black soldier fly larvae?

      Almost any organic waste: table scraps, restaurant leftovers, fast food, produce, meat, dairy, bread, spent coffee grounds, brewing grains, garden weeds, and livestock manure. That wide menu is the black soldier fly's advantage over a worm bin, which will not handle meat, dairy, oils, or much citrus. Variety matters more than any single ingredient: Purdue Extension warns that larvae fed just one or two inputs are developmentally delayed. Keep heavily salted foods, large amounts of citrus, pesticide-treated material, and non-organic waste out of the bin, and bury fresh food under existing material to cut odor and fruit flies.

      Do black soldier fly larvae survive winter?

      No, not outdoors in a cold climate. Purdue Extension says they cannot survive winter in Indiana's climate unless the bin is moved into a sheltered or protected area, and South Dakota State University Extension says new larvae will need to be purchased each year in cold climates. Treat the colony as an annual: stock in spring when nights stay above the mid-50s, run the bin through the warm months, harvest the frass in the fall, and buy fresh larvae next spring. In warm climates the flies occur naturally and complete the full life cycle without buying, especially if you hang corrugated cardboard in the bin as an egg-laying substrate.

      How deep should a black soldier fly bin be?

      The substrate should be about 4 to 6 inches deep, because larvae feed just under the surface and rarely burrow deeper than that, per DipTerra's field observations. The bin itself needs headroom above the substrate for the exit ramp, the lid, and the egg-laying cardboard, so a tote about 15 inches deep with 5 inches of substrate is a good shape. Filling a bin to the brim with food creates a dead zone at the bottom where waste piles too deep for larvae to reach, goes anaerobic, and can drive young larvae out of the bin. Surface area sets the bin size, not depth.

      How is a black soldier fly bin different from a worm bin?

      Three differences matter. First, the menu: black soldier fly larvae eat meat, dairy, oils, and citrus that worms will not touch, so they take the scraps a worm bin refuses. Second, speed: a soldier fly bin turns scraps into compost in as little as 21 days and self-harvests its larvae in 2 to 4 weeks, while a worm bin works over months. Third, the harvest: mature soldier fly larvae climb out of the bin on their own into a bucket, ready to feed to chickens or fish, while worms stay in the bin and the keeper harvests castings. A worm bin is quieter, works indoors, and produces finer castings, so the right choice depends on your scraps, your space, and whether you want feed or fertilizer most.