An arrest without a warrant is legal if a police officer has reasonable cause to think that a crime has been committed and that the person being arrested committed the offence. A reasonable belief based on facts and evidence that supports an arrest without a warrant is referred to as probable cause.
For example: If a police officer observes someone breaking into a home and has evidence to support this observation, they have probable cause to make an arrest without obtaining a warrant.