Range is determined by engine, weight, aerodynamics, and, yes, battery. The Leaf could, hypothetically, weigh half as much as the Tesla Roadster S, have a better coefficient of friction, a smaller engine, and get BETTER range with a smaller battery.
It's like telling people how big the gas tank is on a car. There's a hell of a lot more you need to know to figure out the range. To give an extreme example, just because my passenger van has a 30 gallon tank and my civic has a 11 gallon tank doesn't mean the van is going to win an endurance race.
Edit: Another concrete example, the Volkswagen 1L. It has a 1.7 gallon gas tank and gets a 400 mile range. [1] Your average Toyota might have a 50 mile range on the same amount of gas.