Is JR worth it for this itinerary?

Hey everyone - I know there are a lot of posts over JR pass and regional cards and the pros and cons and everything - but due to the huge amount of information I got slightly overwhelmed and wanted to ask you about a specific itinerary - and if the JR pass is worth it or not. Some people mentioned there is a JR calculator to see if is worth it but I can’t seem to be able to find it or if I’m looking correctly.

Anyway the itinerary is as follows:

9 nights in Osaka with day trips to Kobe Kyoto Nara and Hiroshima

12 nights Tokyo with day trips to Nikko Hakone Kamakura and Yokohama