Yes, it's much more than a week if you used pea-sized amount of toothpaste twice a day so, I don't think so it's gonna be finished in 2 weeks. In my opinion if you buy 5g weight of toothpaste for your trip which is for a week and you brushed twice a day, it is good for you...... 

Otherwise, good luck for your trip