I don't understand how のに　is used in this sentence 始めるのに遅すぎることはない。


Supposedly this sentence means something like "It's never too late to start".
But from what I learned のに should mean "in order to". So I'd think the
sentence means "In order not to be too late we need to start". Is there some
grammatical explanation?




In this case, の works as a noun, similarly to こと. Therefore, 始めるの means
"starting (something)" in this sentence. Divide the sentence as :
始めるの/に/遅すぎること/は/ない.




In this case, の works as a noun, similarly to こと. Therefore, 始めるの means
"starting (something)" in this sentence. Divide the sentence as :
始めるの/に/遅すぎること/は/ない.

