Turn off the chainsaw and wait for the chain to stop spinning before attempting to fill up a chainsaw. Set the saw on a level area of ground outdoors in a well-ventilated area.
Mix into the cleaned-out, approved fuel container the regular unleaded gasoline and the two-stroke engine oil, according to your chainsaw's manufacturer's gas to oil-ratio guidelines. Pour the two-stroke engine oil into the container and add the gasoline on top. Close the fuel container's cap and vent hole and shake the container for 30 seconds to blend the fuel.
Wipe away any dirt, sawdust or oil around the fuel tank (usually marked with a gas symbol) and oil tank caps (usually marked with in oil drop or can), which will prevent debris from falling into the tank. Loosen the cap on the fuel tank and set it aside in a clean area.
Pour the mixed fuel into the tank until it nears the top but don't overfill the tank so gas spills out. Wipe off any spilled gas around the tank. Refit the cap and tighten it fully.
Unscrew the cap on the oil tank. Pour enough bar and chain oil to fill the tank. Wipe up any spills with the rag before starting the chainsaw. Put away the fuel containers and clean up any fuel spills.