I can help you calculate it.  I did it for mine when I made my camping trailer lid.  Need to know some dimensions of your lid and where you plan to mount your lift strut.
	View attachment 18152
This is the only sketch I have of what mine was.  This was before I totally understood how the struts worked at compression.  You want it to be slightly inverted at full close.