I was trying to calculate the size of the TCP window (Bandwidth Delay Product ) which is given by

BDP = bandwidth * round trip time.
My Doubt is regarding this formula . For bandwidth , I am consider is end to end bendwidth And for Round Trip Time is end to end round trip time ,am i right ?

Please somebody help me out in understanding the formula correctly.