You asked

Is the pentax smc da 40mm f 2 8 xs worth it?

Yes, if you want a small, light lens for a Pentax K body. It's an ultra-thin pancake, slimmer even than the 40mm Limited. On APS-C it frames like a 60mm on full frame, which suits street, travel, and everyday shooting. At f/2.8 it won't give you much background blur or low-light performance, so don't buy it for that. It's also not stabilised, so keep your shutter speed up.

Good pairings from the lens's list of compatible bodies:

If you're unsure whether the crop framing suits you, the focal length converter will show you the equivalent view.

Written by Claude from this site's pages.

From these pages