For most household cleaning jobs, white vinegar diluted with water replaces ammonia: mix 1/2 cup (120 ml) of distilled white vinegar with 1 gallon (about 3.8 L) of warm water for floors, windows and countertops. For degreasing, use a paste of baking soda and water instead. The detail most people get wrong is strength: ammonia-based cleaners are alkaline, and vinegar is acidic, so the swap works for general soil and glass but not for heavy grease cutting, where baking soda or dish detergent does the better job.
Match the Substitute to the Job You Were Doing
Ammonia appears in cleaning for three reasons: it cuts grease, it dries streak-free on glass, and it lifts certain stains. Pick the replacement based on which of those you need.
Glass and mirrors
Use a 50/50 mix of white vinegar and water in a spray bottle. Spray, wipe with a microfiber cloth, and buff dry. This leaves no streaks because the vinegar evaporates cleanly, the same property that made ammonia a glass cleaner. Add 1/4 tsp of dish detergent per 2 cups (480 ml) if the glass has a greasy film.
Floors, tile and countertops
Use 1/2 cup (120 ml) vinegar per gallon (about 3.8 L) of warm water. On natural stone (marble, granite, limestone, travertine), skip vinegar entirely; the acid etches the surface. Use a pH-neutral stone cleaner or a well-wrung mop with plain warm water and a drop of dish detergent instead.
Grease and baked-on soil
Baking soda is the substitute here. Sprinkle it on, add enough water to make a paste, let it sit 10-15 minutes, then scrub with a non-scratch sponge. For stovetop grease, dish detergent straight on a damp sponge usually beats both ammonia and baking soda.
Stains on carpet and upholstery
Ammonia is sometimes recommended for carpet stains, but it is one of the few cleaners that can darken some dyes and can attract soil back to the spot if not rinsed. Use a mix of 1 tsp dish detergent, 1 tbsp white vinegar and 2 cups (480 ml) warm water instead. Blot with a clean white cloth from the outside of the stain inward, then rinse with plain water and blot dry.
Know the Safety Line Before You Mix Anything
The single most important rule in this whole topic: never mix ammonia with chlorine bleach, and never mix vinegar with bleach either. Ammonia plus bleach produces chloramine gas; vinegar plus bleach produces chlorine gas. Both are dangerous in a closed room. If you are switching from an ammonia cleaner to a bleach-based cleaner on the same surface, rinse the surface with plain water and let it dry first.
Also keep ammonia and its substitutes away from each other during use. Vinegar and baking soda can be used in sequence (vinegar first, rinse, then baking soda), but combining them in one container mostly cancels both out and leaves you with salty water.
Work Through a Window-Cleaning Batch With Real Numbers
A typical store-bought ammonia glass cleaner comes in a 32 oz (about 950 ml) spray bottle. To make the equivalent amount of vinegar glass cleaner: combine 2 cups (480 ml) distilled white vinegar with 2 cups (480 ml) water. That fills a 32 oz bottle almost exactly, since 2 + 2 cups = 4 cups = 32 fl oz. Label the bottle and store it out of reach of children.
For a floor bucket: 1/2 cup (120 ml) vinegar into 1 gallon (about 3.8 L) warm water covers about 150-200 sq ft (14-19 sq m) of tile or vinyl before the water gets too dirty to continue. Empty and refill rather than pushing dirty water around.
Use a Rule of Thumb for Strength
Remember it as: glass gets it half-and-half, floors get it weak, grease gets it dry. Half vinegar, half water for glass; a splash of vinegar in a big bucket for floors; straight baking soda powder, wetted to a paste, for grease. Anything stronger than 50/50 vinegar is unnecessary for household surfaces and can damage grout, stone and some metals over time.
Undiluted vinegar is still useful in two places: dissolving hard-water deposits around faucets (soak a paper towel, wrap it on the fixture, leave 30-60 minutes) and cleaning dishwasher rinse-agent buildup. Rinse both with water afterward.
If You Meant Baking Ammonia, Not Cleaning Ammonia
Some recipes, especially older European cookies such as springerle and some Scandinavian Christmas cookies, call for baker's ammonia (ammonium carbonate, sometimes sold as hartshorn). It is not the same product as household ammonia and the two are never interchangeable.
The standard substitute for baker's ammonia is baking powder, though the texture changes: baker's ammonia produces an especially crisp, dry cookie that stays crisp, while baking powder gives a slightly softer bite. Use 1 tsp baking powder for every 1 tsp baker's ammonia the recipe calls for. Baking ammonia should only be used in thin, dry cookies and crackers baked fully through, never in thick or moist baked goods, because the ammonia must cook off completely to leave no taste.
Decide When You Actually Need the Real Thing
A few jobs have no good substitute. Ammonia is still the better choice for stripping wax buildup from vinyl floors and for cleaning some oven racks with heavy baked-on residue. If you have asthma, chronic bronchial sensitivity, or pets (especially birds, whose respiratory systems are sensitive to fumes), the substitutes above are the safer default for daily cleaning, and ventilation matters more than product choice: open a window or run the exhaust fan whenever you clean with anything stronger than water.
Store any cleaner, homemade or commercial, in its original or clearly labeled container, never in a food or drink bottle, and keep it below 120F/49C, which rules out storage near ovens or in a car in summer.