How could I know if I fractured my toe?

X-ray. The best way to detect a fractured bone is with an xray.
Get an x-ray. And you will know.
Get an x-ray. And voila - you will know.