Open the command prompt by pressing cmd + Run and then enter ipconfig followed by entering to process the command. Navigate a bit down and look for Wi-Fi or Ethernet option where you will find the Default gateway. That will be your router and the number available next to it will be the IP address of your router.