You asked

How does the panasonic lumix s 40mm f 2 frame and perform on a smaller sensor?

On an APS-C sensor the Panasonic Lumix S 40mm f/2 frames like a 60mm lens on full frame. The sensor sizes guide explains that the crop factor, about 1.5x on APS-C, multiplies the focal length. That makes it a short telephoto for portraits and tighter street or detail shots, rather than a standard view.

The f/2 aperture also behaves differently. On APS-C it gives about the depth of field of f/3, so you get less background blur than the number suggests on full frame. The lens is autofocusing but not stabilised, so it won't steady a shaky hand, and the bright f/2 aperture is what helps in dim light. The catalogue doesn't compare low-light noise between sensor sizes, so the site can't say how much a smaller sensor costs you there.

The lens is an L-Mount design, so it pairs with the APS-C L-Mount bodies the site lists: the Leica T (Typ 701), TL, CL and TL2. The full-frame Panasonic S bodies it also fits will use the lens at its full 40mm view. For a quick check of framing with other formats, the focal length converter does the sums. The full lens details are on its catalogue page.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.