diff --git a/package.json b/package.json
index 65e4bf32..7c0f1340 100644
--- a/package.json
+++ b/package.json
@@ -266,6 +266,7 @@
"randexp": "^0.5.3",
"regex": "^4.4.0",
"rekcod": "^3.0.0",
+ "resistor-data": "^1.1.1",
"riimut": "^0.9.1",
"roboto-base64": "^0.1.2",
"rtf-stream-parser": "^3.8.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index eeea861e..5b61a174 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -686,6 +686,9 @@ dependencies:
rekcod:
specifier: ^3.0.0
version: 3.0.0
+ resistor-data:
+ specifier: ^1.1.1
+ version: 1.1.1
riimut:
specifier: ^0.9.1
version: 0.9.1
@@ -16557,6 +16560,10 @@ packages:
resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==}
dev: true
+ /resistor-data@1.1.1:
+ resolution: {integrity: sha512-J8cwe8A4JWYhCM1qjPEp3Ccd2SY+h/yVGeULfpWceGYniJPluv0FbhqgTuJMgl2W0QcUngskckX6mIsTQLnoiA==}
+ dev: false
+
/resolve-dir@1.0.1:
resolution: {integrity: sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==}
engines: {node: '>=0.10.0'}
diff --git a/src/tools/resistor-calculator/index.ts b/src/tools/resistor-calculator/index.ts
new file mode 100644
index 00000000..f26596a0
--- /dev/null
+++ b/src/tools/resistor-calculator/index.ts
@@ -0,0 +1,13 @@
+import { Hammer } from '@vicons/tabler';
+import { defineTool } from '../tool';
+
+export const tool = defineTool({
+ name: 'Resistor Calculator',
+ path: '/resistor-calculator',
+ description: 'Compute Resistor values from/to band colors',
+ keywords: ['resistor', 'ohm', 'calculator'],
+ component: () => import('./resistor-calculator.vue'),
+ icon: Hammer,
+ createdAt: new Date('2025-08-15'),
+ category: 'Forensic',
+});
diff --git a/src/tools/resistor-calculator/resistor-calculator.vue b/src/tools/resistor-calculator/resistor-calculator.vue
new file mode 100644
index 00000000..7a7194c0
--- /dev/null
+++ b/src/tools/resistor-calculator/resistor-calculator.vue
@@ -0,0 +1,277 @@
+
+
+
+
+
+
+
+
+
+
+ Valid colors: {{ validColors.join(', ') }}
+
+
+
+ Convert
+
+
+
+ {{ bandsError }}
+
+
+
+
+ {{ color }}
+
+
+
+
+
+ Axial
+
+
+ Radial
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Convert
+
+
+
+ {{ notationError }}
+
+
+
+
+ {{ color }}
+
+
+
+
+
+ Axial
+
+
+ Radial
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Convert
+
+
+
+ {{ numberError }}
+
+
+
+
+
+
+
+
+
+ Convert
+
+
+
+ {{ notationToNumberError }}
+
+
+
+
+
+
diff --git a/src/tools/resistor-calculator/resistor-data.d.ts b/src/tools/resistor-calculator/resistor-data.d.ts
new file mode 100644
index 00000000..df6ac9d6
--- /dev/null
+++ b/src/tools/resistor-calculator/resistor-data.d.ts
@@ -0,0 +1,6 @@
+declare module 'resistor-data' {
+ export function bandsToNotation(bands: string[], bandsCount: number): any[];
+ export function notationToBands(notation:any[], bandsCount: number): string[];
+ export function notationToValue(notation: string): number;
+ export function valueToNotation(value: number): string;
+}
\ No newline at end of file