Calibre will do the job. However, unless the structure of the pdf is very simple, the results usually aren't very good. Regardless, don't convert to mobi, convert to azw3. I've had quite a lot better results with converting simple pdfs to azw3 vs. mobi.