apt-get: get download size and install size

Hi, I wan't to write a bash script that would get the estimated download size of a package (including missing dependencies) and estimated install size. I will use a default ubuntu install as the reference system. Can this be done somehow? Thank you in advance!