Steve Breese

A Chicago-based Full-stack JavaScript Developer

Relative Path Calculator

Instructions:

  1. Enter Two Absolute Paths (Relative paths may be used instead as as long as they share the same root directory)
  2. The calculator will automatically calculate and display the relative path for both directions

Path #1:
Path #2:

Results:

To add a reference to File #2 within File #1, use this relative path:
To add a reference to File #1 within File #2, use this relative path:

Sample Absolute Path Data

Mac & Linux Path

Windows Path