Swelling in the legs, ankles, and feet is called edema. It is common after you sit or stand for a while. Long plane flights or car rides often cause swelling in the legs and feet. You may also have swelling if you have to stand for long periods of time at your job.