Search
Notices
Singlespeed & Fixed Gear "I still feel that variable gears are only for people over forty-five. Isn't it better to triumph by the strength of your muscles than by the artifice of a derailer? We are getting soft...As for me, give me a fixed gear!"-- Henri Desgrange (31 January 1865 - 16 August 1940)

Gear Calculator

Thread Tools
 
Search this Thread
 
Old 03-13-07 | 11:12 PM
  #1  
Thread Starter
Senior Member
 
Joined: Feb 2007
Posts: 228
Likes: 0
From: Madison, WI
Gear Calculator

I wrote up a SS/FG gear calculator called Rabbit. Attached are screen shots...

I'm new to the SS/FG thing so I put this together to help me understand what gearing I wanted...

Check it out: https://software.bareknucklebrigade.com/

Current Features:
- Gear Ratio
- Gain Ratio
- Gear Inches
- Development (meters)
- Skid Patches (option for ambidextrous skidding)
- Equivalent Gearing (by chainring or sprocket)
- Speed @ RPM
- Can launch as Java Applet (in browser) or with Java Web Start (allows off-line use on your machine)

New feature 03/24/2007:
- added skid patch analysis tool to help clear up confusion regarding the correct skid patch count calculation. This tool shows that Fraction's theorem is correct (https://www.bikeforums.net/singlespeed-fixed-gear/242123-skid-patch-theorem.html)

Hint-of-the-day: Use the mouse-wheel for quick changes in editable fields.

If you want features added let me know...

tt
Attached Images
File Type: png
rabbit-screenshot-1.png (38.3 KB, 14 views)
File Type: png
rabbit-screenshot-2.png (43.0 KB, 11 views)

Last edited by testtube; 03-23-07 at 11:27 PM.
testtube is offline  
Reply
Old 03-13-07 | 11:31 PM
  #2  
Senior Member
 
Joined: Jan 2007
Posts: 65
Likes: 0
From: NYC
i wonder, if you have a 27'' front wheel and a 700 x 23 rear, would that affect the gear ratio? or is it just the rear that matters?

oh and i like the calc, btw, impressive that you did this
pretendlee is offline  
Reply
Old 03-13-07 | 11:33 PM
  #3  
Thread Starter
Senior Member
 
Joined: Feb 2007
Posts: 228
Likes: 0
From: Madison, WI
i wonder, if you have a 27'' front wheel and a 700 x 23 rear, would that affect the gear ratio? or is it just the rear that matters?
the wheel driven by the chain is all that matters...
testtube is offline  
Reply
Old 03-13-07 | 11:36 PM
  #4  
Thread Starter
Senior Member
 
Joined: Feb 2007
Posts: 228
Likes: 0
From: Madison, WI
Originally Posted by pretendlee
oh and i like the calc, btw, impressive that you did this
thanks... not exactly a novel idea but being hands-on i need to do something while i wait from my bfssfg iro....

Last edited by testtube; 03-13-07 at 11:57 PM.
testtube is offline  
Reply
Old 03-14-07 | 12:00 AM
  #5  
Senior Member
 
Joined: Sep 2006
Posts: 3,744
Likes: 1
From: Van BC
I can't make it work in OSX Java. Looks good though, nice and simple.
mander is offline  
Reply
Old 03-14-07 | 12:04 AM
  #6  
Thread Starter
Senior Member
 
Joined: Feb 2007
Posts: 228
Likes: 0
From: Madison, WI
I can't make it work in OSX Java. Looks good though, nice and simple.
dang, what version of OS X? email or PM me the error text or a screen dump and I can take a look at it. I have an OS X machine at work I test with tomorrow...

thanks...
testtube is offline  
Reply
Old 03-14-07 | 12:23 AM
  #7  
In Absentia's Avatar
Wolfman got nards!
 
Joined: Jan 2006
Posts: 601
Likes: 1
From: Denver, CO

Bikes: '06 Bianchi Volpe, '09 Mercier Kilo TT, '08 Jamis Exile 29er

Originally Posted by mander
I can't make it work in OSX Java. Looks good though, nice and simple.
It worked for me. Maybe you need to update your Java VM or something. Also, I'm using Firefox which opens the file in an external Java viewer. If you're using Safari, it might be trying (and failing) to open it itself.

Edit: I'm on 10.4.8 on an Intel. And this is a pretty cool program. I like the layout and all of the information presented.
__________________
.
Reason is a scoundrel, stupidity is direct and honest. –Ivan Fyodorovich Karamazov

Man's mind, once stretched by a new idea, never regains its original dimensions. –Oliver Wendell Holmes
In Absentia is offline  
Reply
Old 03-14-07 | 12:26 AM
  #8  
Senior Member
 
Joined: Sep 2006
Posts: 3,744
Likes: 1
From: Van BC
There's no error message, it just crashes. It's 10.3.9 if that helps at all.

Edit Poop, it doesn't work with Firefox either. In either case Java Web Start just freezes.

Another suggestion, the rpms/ speed chart ought to go up to 150 or 160 for those of us rolling small gears down big hills.
mander is offline  
Reply
Old 03-14-07 | 10:14 AM
  #9  
Thread Starter
Senior Member
 
Joined: Feb 2007
Posts: 228
Likes: 0
From: Madison, WI
Originally Posted by mander
There's no error message, it just crashes. It's 10.3.9 if that helps at all.

Edit Poop, it doesn't work with Firefox either. In either case Java Web Start just freezes.
I don't have a 10.3.x machine to look at this with...

As an alternative you can download and save the jar file from https://rabbit.bareknucklebrigade.com/dist/rabbit.jar .

Save it somewhere then either click on it to run it or type 'java -jar <directory you saved it in>/rabbit.jar' from a command line if you're that kinda person...

Another suggestion, the rpms/ speed chart ought to go up to 150 or 160 for those of us rolling small gears down big hills.
just pushed that change out...

Last edited by testtube; 03-14-07 at 01:39 PM.
testtube is offline  
Reply
Old 03-14-07 | 10:28 AM
  #10  
é wot?
 
Joined: Jun 2006
Posts: 364
Likes: 0
From: Inner Canuckistan

Bikes: Gary Fisher Montare, 1973 Bottechia, IRO Jamie Roy,1998 Cervelo Eyre Tri, 1982 Peugeot Sport fixed gear, and some kind of red bike hanging in the rafters

Nicely done, bookmarked
yairi is offline  
Reply
Old 03-14-07 | 11:46 AM
  #11  
Thread Starter
Senior Member
 
Joined: Feb 2007
Posts: 228
Likes: 0
From: Madison, WI
Added support for ambidextrous skid patch calculation per Sheldon Brown's site.

If you are an ambidextrous skidder, and the simplified ratio has an even numerator or denominator, your number of skid patches will be the same.

If you are an ambidextrous skidder, and both the numerator and denominator are odd, the number of possible skid patches will be doubled.
testtube is offline  
Reply
Old 03-14-07 | 12:47 PM
  #12  
Senior Member
 
Joined: Feb 2007
Posts: 260
Likes: 0
From: Gainesville, FL
Shouldn't my GI change with crank length?

edit: Also, I thought the calc was (chainring)*(wheel size)/(cog)
Nekura is offline  
Reply
Old 03-14-07 | 12:56 PM
  #13  
Senior Member
 
Joined: Feb 2007
Posts: 260
Likes: 0
From: Gainesville, FL
I run 40x13 with 23's... It should be 70, but your calc shows me 80.
Nekura is offline  
Reply
Old 03-14-07 | 12:58 PM
  #14  
Senior Member
 
Joined: Sep 2006
Posts: 3,744
Likes: 1
From: Van BC
Originally Posted by Nekura
Shouldn't my GI change with crank length?
No, thats why Sheldon favours the gain ratio measure instead.
mander is offline  
Reply
Old 03-14-07 | 01:00 PM
  #15  
Senior Member
 
Joined: Apr 2006
Posts: 175
Likes: 0
From: Houston
Nice program.

Originally Posted by Nekura
I run 40x13 with 23's... It should be 70, but your calc shows me 80.
You're on a bigger gear than you think.
heliumb is offline  
Reply
Old 03-14-07 | 01:00 PM
  #16  
Senior Member
 
Joined: Sep 2006
Posts: 3,744
Likes: 1
From: Van BC
Originally Posted by Nekura
I run 40x13 with 23's... It should be 70, but your calc shows me 80.
No, not according to Sheldon's calc and my intuition.
mander is offline  
Reply
Old 03-14-07 | 01:14 PM
  #17  
Senior Member
 
Joined: Oct 2005
Posts: 5,820
Likes: 133
Hmm... Whats so difficult about CR teeth/cog teeth*27=gear inches? Calculating gear inches ain't rocket surgery.
__________________
Il faut de l'audace, encore de l'audace, toujours de l'audace

1980 3Rensho-- 1975 Raleigh Sprite 3spd
1990s Raleigh M20 MTB--2007 Windsor Hour (track)
1988 Ducati 750 F1
San Rensho is offline  
Reply
Old 03-14-07 | 01:16 PM
  #18  
Senior Member
 
Joined: Feb 2007
Posts: 260
Likes: 0
From: Gainesville, FL
Oh wow lol. How do you calculate it correctly then?
Nekura is offline  
Reply
Old 03-14-07 | 01:22 PM
  #19  
Senior Member
 
Joined: Oct 2005
Posts: 5,820
Likes: 133
Originally Posted by Nekura
Oh wow lol. How do you calculate it correctly then?
Dude (or dudette) 40 divided by 13 times 27 is 83.07 gear inches. Now, you are probably running a 700c wheel which is not exactly 27", but use 27, its close enough for the girls we go with.
__________________
Il faut de l'audace, encore de l'audace, toujours de l'audace

1980 3Rensho-- 1975 Raleigh Sprite 3spd
1990s Raleigh M20 MTB--2007 Windsor Hour (track)
1988 Ducati 750 F1
San Rensho is offline  
Reply
Old 03-14-07 | 01:23 PM
  #20  
Thread Starter
Senior Member
 
Joined: Feb 2007
Posts: 228
Likes: 0
From: Madison, WI
Originally Posted by Nekura
Also, I thought the calc was (chainring)*(wheel size)/(cog)
From the data I have 700c x 23 has a cirucmference of 2085 mm

for 40x13 and 700c x 23 the gear inch is calculated as:

gear inches = ( chainring ) / ( cog) * (wheel diameter in inches)
gear inches = ( chainring ) / ( cog) * (wheel circumference in inches) / ( pi )
gear inches = 40.0 / 13.0 * ( 2085 mm * 1 in / 25.4mm ) / 3.14159... [hey, it's pi day!]
gear inches = 80.40...

An issue in the software could be the wheel circumference lookup table. circumference isn't truely fixed across all scenarios and changes with tire brand, psi and rider weight. differences should be minor... i.e. if you're a bigger guy running low psi your gear inches could be a *little* lower than you think but we're spliting hairs...
testtube is offline  
Reply
Old 03-14-07 | 01:23 PM
  #21  
jim-bob's Avatar
hateful little monkey
20 Anniversary
 
Joined: May 2003
Posts: 5,274
Likes: 0
From: oakland, ca
Originally Posted by San Rensho
Hmm... Whats so difficult about CR teeth/cog teeth*27=gear inches? Calculating gear inches ain't rocket surgery.
Originally Posted by Nekura
Oh wow lol. How do you calculate it correctly then?
I weep.
jim-bob is offline  
Reply
Old 03-14-07 | 01:29 PM
  #22  
It's in your head.
 
Joined: Mar 2007
Posts: 104
Likes: 0
From: Manhattan
https://sheldonbrown.com/gears/

It just plan works!
npoak is offline  
Reply
Old 03-14-07 | 01:34 PM
  #23  
Senior Member
 
Joined: Feb 2007
Posts: 260
Likes: 0
From: Gainesville, FL
See, you can sit here and be internet tough guys... or you can actually provide useful information. Thank you, testtube!
Nekura is offline  
Reply
Old 03-14-07 | 04:37 PM
  #24  
Thread Starter
Senior Member
 
Joined: Feb 2007
Posts: 228
Likes: 0
From: Madison, WI
I've updated the jnlp file to give the user the *option* to install desktop and start menu shortcuts.

Let me know if anything else can/should be added... FYI - all the editable fields can be scrolled with the mouse wheel (if you have one...)

Launch Rabbit...
testtube is offline  
Reply
Old 03-14-07 | 04:40 PM
  #25  
Senior Member
 
Joined: Sep 2006
Posts: 3,744
Likes: 1
From: Van BC
I'm declaring a moratorium on people saying "I weep" when nothing merits weeping .

**** man, I can't get this to work in java and I'm too lazy to figure out why---sorry. Other Java apps work fine for me.
mander is offline  
Reply


Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service -

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.