As long as you are not overpacking, 40 liters is sufficient for traveling. Because overpacking can be as detrimental as underpacking, you should avoid getting a backpack that is too large. It is not a good idea to carry a large bag everywhere you go during your vacation.