The above website is a Clash of Clans calculator for army compositions, time, and cost. It also allows you to calculate how much loot an enemy can raid from you while you go offline. All credits go to Mikhail Kalashnik.
This above website provides a very valuable base builder that you can use to design and layout a base before you implement it into your game!