When the boat travels downstream, the current helps it move faster because it works in the direction of travel. When the boat moves upstream, the opposite happens. So, let

be the speed of the boat in still water and

be the speed of the current, both in miles per hour.
Remember that

. Let's use this formula to write what happens when the boat is going downstream and upstream. When the boat goes downstream, the current goes in the same direction as the boat and speeds it up, so the rate is given by

. When the boat is going upstream, the current goes against the boat's movement and slows it down, so the rate is

. Thus,
Upstream:

Downstream:

This is now a system of equations. Let's first divide both sides of each equation by the time to get everything in miles per hour:

We can then add the two equations and solve for the speed of the boat in still water first:



Finally, we can find the speed of the current by plugging the speed of the boat back into one of the previous equations:

