Open the bathroom door slowly and notice where its bottom edge comes closest to the floor. Mark the usable floor area with a sheet of paper.
Measure the space outside the door swing. Look at the thickness of the mat including its backing, especially if the corner could catch as the door opens.
If the door drags during your test, move the mat completely out of the swing or choose a different size. Try it again with the door fully open.