title: How to calculate packet time from latency and bandwidth
body: <p>I have a link between a host and a switch.</p>
  
  <p>The link has a bandwidth &amp; a latency. How to calculate the time of 2 packets(with size 1KB) to be transferred from <em>Host A</em> to <em>Switch 1</em>?</p>
  
  <p>Here's the diagram(I am talking about the first link)</p>
  
  <p><img src="https://i.stack.imgur.com/WnqP5.png" alt="Latency &amp; Bandwidth"></p>
  
  <p>Note: I just want to calculate it manually for these values, I want to know the principles/laws of calculating these problems.</p>